gokul/macro-six-usbc

USB-powered ATmega32U4 controller board with protected/switched 5 V power, six tactile keys, rotary encoder, reset/boot/ISP interfaces, power LED, and six daisy-chained SK6812 RGB LEDs driven through MOSFETs.

Version
0.1.6
License
MIT
Stars
0

enclosure/exports/component-fit.json

{
  "method": "Exact BRep intersections for supplier STEP models; conservative 2 mm-tall footprint boxes for unmodelled passives",
  "components": [
    {
      "name": "J1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        7.74999,
        11.85099
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_CC1",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_CC2",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_ESD",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.24994
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_DM",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_DP",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "F1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0
      },
      "z_bounds_mm": [
        8.6,
        9.2
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "Q_MAIN",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0
      },
      "z_bounds_mm": [
        8.6,
        9.65021
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_MAIN_PULL",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW_POWER",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        5.80001,
        13.30001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_BULK",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_ESD",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_PWR",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "LED_PWR",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0
      },
      "z_bounds_mm": [
        8.6,
        9.16
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.86
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "Y1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0
      },
      "z_bounds_mm": [
        8.6,
        9.301
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_X1",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_X2",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_V1",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_V2",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_V3",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_V4",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_V5",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_UCAP",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_AREF",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_RESET",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_HWB",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW_RESET",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW_BOOT",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.8831494
      },
      "z_bounds_mm": [
        5.60001,
        23.70001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW2",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.8831494
      },
      "z_bounds_mm": [
        5.60001,
        23.70001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW3",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.8831494
      },
      "z_bounds_mm": [
        5.60001,
        23.70001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW4",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.8831494
      },
      "z_bounds_mm": [
        5.60001,
        23.70001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW5",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.8831494
      },
      "z_bounds_mm": [
        5.60001,
        23.70001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "SW6",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.8831494
      },
      "z_bounds_mm": [
        5.60001,
        23.70001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "ENC1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        5.10001,
        33.10001
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_ENCA",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_ENCB",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "Q_RGB",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0
      },
      "z_bounds_mm": [
        8.6,
        9.65021
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_RGB_PULL",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_RGB_DATA",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "R_RGB_DOWN",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_RGB1",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_LED1",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_RGB2",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_LED2",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_RGB3",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_LED3",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_RGB4",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_LED4",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_RGB5",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_LED5",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "U_RGB6",
      "geometry": "supplier_STEP",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.55
      ],
      "fastener_intersection_mm3": 0
    },
    {
      "name": "C_LED6",
      "geometry": "conservative_passive_envelope",
      "intersections_mm3": {
        "bottom": 0.0,
        "top": 0.0,
        "switch-plate": 0.0
      },
      "z_bounds_mm": [
        8.6,
        10.6
      ],
      "fastener_intersection_mm3": 0
    }
  ],
  "unexpected_interferences": [],
  "key_clip_contacts": [
    {
      "component": "SW1",
      "part": "switch-plate",
      "volume_mm3": 0.8831494,
      "bounds": {
        "x": [
          -29.05384,
          -26.94616
        ],
        "y": [
          5.54987,
          20.44987
        ],
        "z": [
          12.1,
          13.6
        ]
      }
    },
    {
      "component": "SW2",
      "part": "switch-plate",
      "volume_mm3": 0.8831494,
      "bounds": {
        "x": [
          -6.05384,
          -3.94616
        ],
        "y": [
          5.54987,
          20.44987
        ],
        "z": [
          12.1,
          13.6
        ]
      }
    },
    {
      "component": "SW3",
      "part": "switch-plate",
      "volume_mm3": 0.8831494,
      "bounds": {
        "x": [
          16.94616,
          19.05384
        ],
        "y": [
          5.54987,
          20.44987
        ],
        "z": [
          12.1,
          13.6
        ]
      }
    },
    {
      "component": "SW4",
      "part": "switch-plate",
      "volume_mm3": 0.8831494,
      "bounds": {
        "x": [
          -29.05384,
          -26.94616
        ],
        "y": [
          -20.45013,
          -5.55013
        ],
        "z": [
          12.1,
          13.6
        ]
      }
    },
    {
      "component": "SW5",
      "part": "switch-plate",
      "volume_mm3": 0.8831494,
      "bounds": {
        "x": [
          -6.05384,
          -3.94616
        ],
        "y": [
          -20.45013,
          -5.55013
        ],
        "z": [
          12.1,
          13.6
        ]
      }
    },
    {
      "component": "SW6",
      "part": "switch-plate",
      "volume_mm3": 0.8831494,
      "bounds": {
        "x": [
          16.94616,
          19.05384
        ],
        "y": [
          -20.45013,
          -5.55013
        ],
        "z": [
          12.1,
          13.6
        ]
      }
    }
  ],
  "access": [
    {
      "name": "reset",
      "tool_diameter_mm": 2.4,
      "intersection_mm3": {
        "top": 0.0,
        "switch-plate": 0.0
      }
    },
    {
      "name": "boot",
      "tool_diameter_mm": 2.4,
      "intersection_mm3": {
        "top": 0.0,
        "switch-plate": 0.0
      }
    },
    {
      "name": "ISP",
      "plate_opening_pass": true,
      "lid_removal_required": true
    },
    {
      "name": "USB_cable_16x8mm_envelope",
      "part": "bottom",
      "intersection_mm3": 0.0
    },
    {
      "name": "USB_cable_16x8mm_envelope",
      "part": "top",
      "intersection_mm3": 0.0
    }
  ],
  "fasteners": [
    {
      "type": "M3x16 pan head",
      "quantity": 4,
      "base_thread_engagement_mm": 3.0,
      "tip_z_mm": 4.0,
      "blind_pilot_bottom_z_mm": 1.2
    },
    {
      "type": "M2x10 pan head + M2 hex nut",
      "quantity": 5,
      "tip_z_mm": 10.0,
      "pcb_top_z_mm": 8.6,
      "nominal_tip_to_pcb_gap_mm": 1.4
    }
  ],
  "keycap_to_fastener_clearance_pass": true,
  "knob_push_envelope": {
    "diameter_mm": 18,
    "push_travel_mm": 0.5,
    "minimum_lid_gap_mm": 0.5,
    "passed": true
  },
  "pcb_sha256": "eb20b66391737cfd3a431a0bc2c7e2e2b6917cc50b2596650c7ada0cdff9a295",
  "physical_fit_verified": false,
  "passed_without_unexpected_interference": true,
  "print_mesh_sha256": {
    "bottom": "dbe6f133c6360953da7a8721f8afb91e24dd9946618cad819e22143f9c0545c8",
    "top": "8503d91127c3ff7f33d8b1b148efd4f556be066b7d1e952c3dfbb1413a3d8218",
    "switch-plate": "b58b583d895f34b606c41410776fb2b8335152c97b07c1b3e1ea34227da34af5"
  }
}