0hmX/pcbgolf-modular-checkpoint

A partial 3D assembly of seven separate PCBs—five USB carriers, an MCU board, and an SBU board—with modeled USB/DC connectors, but no routing, wiring, supports, or tilted-board mounting.

Version
0.0.6
License
UNLICENSED
Stars
0

board-rotation-results.json

PCBPCB preview for board-rotation-results.json
SchematicSchematic preview for board-rotation-results.json
{
  "twoBoards": {
    "ok": true,
    "boards": [
      {
        "type": "pcb_board",
        "pcb_board_id": "pcb_board_0",
        "source_board_id": "source_board_0",
        "subcircuit_id": "subcircuit_source_group_0",
        "center": {
          "x": -10,
          "y": 0
        },
        "thickness": 0.4,
        "num_layers": 2,
        "width": 8,
        "height": 6,
        "material": "fr4",
        "min_trace_width": 0.1,
        "min_via_hole_diameter": 0.2,
        "min_via_pad_diameter": 0.3,
        "min_via_hole_edge_to_via_hole_edge_clearance": 0.1,
        "min_trace_to_hole_edge_clearance": 0.2,
        "min_trace_to_pad_edge_clearance": 0.1,
        "min_pad_edge_to_pad_edge_clearance": 0.1,
        "min_plated_hole_drill_edge_to_drill_edge_clearance": 0.15,
        "min_board_edge_clearance": 0.2
      },
      {
        "type": "pcb_board",
        "pcb_board_id": "pcb_board_1",
        "source_board_id": "source_board_1",
        "subcircuit_id": "subcircuit_source_group_1",
        "center": {
          "x": 10,
          "y": 0
        },
        "thickness": 0.4,
        "num_layers": 2,
        "width": 7,
        "height": 7,
        "material": "fr4",
        "min_trace_width": 0.1,
        "min_via_hole_diameter": 0.2,
        "min_via_pad_diameter": 0.3,
        "min_via_hole_edge_to_via_hole_edge_clearance": 0.1,
        "min_trace_to_hole_edge_clearance": 0.2,
        "min_trace_to_pad_edge_clearance": 0.1,
        "min_pad_edge_to_pad_edge_clearance": 0.1,
        "min_plated_hole_drill_edge_to_drill_edge_clearance": 0.15,
        "min_board_edge_clearance": 0.2
      }
    ],
    "cad": []
  },
  "tiltedBoard": {
    "ok": false,
    "error": "Error: board \"B\" cannot mount to motor \"M\" facing x+: rotated PCB boards are not yet supported; use shaftFacingDirection=\"z+\" or \"z-\""
  },
  "separateCad": {
    "ok": true,
    "boards": [],
    "cad": [
      {
        "type": "cad_component",
        "cad_component_id": "cad_component_0",
        "model_glb_url": "https://example.com/mcu.glb",
        "position": {
          "x": 12,
          "y": 0.5,
          "z": 7
        },
        "rotation": {
          "x": 90,
          "y": 90,
          "z": 0
        },
        "layer": "top",
        "source_component_id": "source_component_0",
        "model_origin_position": {
          "x": 0,
          "y": 0,
          "z": 0
        },
        "model_unit_to_mm_scale_factor": 1,
        "model_object_fit": "contain_within_bounds",
        "anchor_alignment": "center",
        "show_as_translucent_model": false
      },
      {
        "type": "cad_component",
        "cad_component_id": "cad_component_1",
        "model_glb_url": "https://example.com/sbu.glb",
        "position": {
          "x": 15,
          "y": 0.5,
          "z": 0
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "layer": "top",
        "source_component_id": "source_component_1",
        "model_origin_position": {
          "x": 0,
          "y": 0,
          "z": 0
        },
        "model_unit_to_mm_scale_factor": 1,
        "model_object_fit": "contain_within_bounds",
        "anchor_alignment": "center",
        "show_as_translucent_model": false
      },
      {
        "type": "cad_component",
        "cad_component_id": "cad_component_2",
        "model_glb_url": "https://example.com/usb.glb",
        "position": {
          "x": 0,
          "y": 14,
          "z": 3
        },
        "rotation": {
          "x": 90,
          "y": 0,
          "z": 0
        },
        "layer": "top",
        "source_component_id": "source_component_2",
        "model_origin_position": {
          "x": 0,
          "y": 0,
          "z": 0
        },
        "model_unit_to_mm_scale_factor": 1,
        "model_object_fit": "contain_within_bounds",
        "anchor_alignment": "center",
        "show_as_translucent_model": false
      }
    ]
  }
}