mohan-bee/drone

This code defines the physical hardware layout and component placements for a drone's circuit board, including outlines, cutouts, and detailed PCB footprints for various electronic components like microcontrollers, sensors, connectors, and passive devices.

Version
1.0.11
License
unset
Stars
0

work/pcb-placement-final.txt

Detected entrypoint: 'index.circuit.tsx'
placement summary: 18 courtyard collisions

worst issues:
1. U8 and J8 courtyard collision by 3.54mm. Suggested move: move U8 3.54mm down.
2. J9 and T3 courtyard collision by 2.186mm. Suggested move: move T3 2.186mm down.
3. U8 and J9 courtyard collision by 1.566mm. Suggested move: move U8 1.566mm right.
4. R8 and J8 courtyard collision by 1.46mm. Suggested move: move R8 1.46mm up.
5. R11 and J8 courtyard collision by 1.46mm. Suggested move: move R11 1.46mm up.

likely bad clusters:
- J9 cluster: J9, J8, U8, R8, R11, T3, R20, C5, J4, U4
- C10 cluster: C10, C9, C14
- J1 cluster: IC1, J1, J3

board top-layer utilization:
- occupied: 16.874% (1484.874mm^2 of 8800mm^2)
- empty spaces over 5% of board area:
  - 49.746% (4377.629mm^2); bounds=(minX=-55mm, maxX=-0.28mm, minY=-40mm, maxY=40mm)

board-edge status:
- J1: 16.067mm inside top edge
- D1: 7.474mm inside top edge
- U2: 10.021mm inside top edge
- U1: 5.805mm inside top edge
- U3: 13.09mm inside right edge
- C1: 5.269mm inside top edge
- C2: 9.106mm inside right edge
- C3: 9.326mm inside right edge
- LED1: 5.146mm inside right edge
- R1: 5.85mm inside right edge
- SW1: 10.15mm inside top edge
- R2: 5.969mm inside top edge
- IC1: 10.271mm inside top edge
- RPROG1: 1.845mm inside top edge
- R3: 11.402mm inside top edge
- R4: 2.809mm inside top edge
- LED2: 11.226mm inside right edge
- LED3: 2.009mm inside top edge
- C4: 3.39mm inside right edge
- C5: 26.999mm inside top edge
- J3: 2.033mm inside top edge
- U4: 30.959mm inside top edge
- U5: 34.772mm inside right edge
- U6: 20.172mm inside top edge
- C6: 8.766mm inside right edge
- C7: 6.306mm inside right edge
- C8: 9.743mm inside right edge
- R5: 10.246mm inside right edge
- R6: 7.283mm inside right edge
- R7: 37.232mm inside right edge
- R8: 5.85mm inside right edge
- R9: 5.85mm inside right edge
- U7: 18.741mm inside right edge
- U8: 12.847mm inside right edge
- C9: 34.174mm inside bottom edge
- C10: 34.194mm inside bottom edge
- C11: 31.714mm inside bottom edge
- R10: 30.234mm inside bottom edge
- R11: 3.39mm inside right edge
- U9: 31.033mm inside top edge
- C12: 2.346mm inside right edge
- C13: 3.846mm inside right edge
- C14: 34.194mm inside bottom edge
- R12: 3.39mm inside right edge
- R13: 27.754mm inside bottom edge
- R14: 4.35mm inside right edge
- J8: 9.075mm inside right edge
- J9: 22.941mm inside top edge
- T1: 13.896mm inside right edge
- R18: 1.89mm inside right edge
- D2: 6.454mm inside top edge
- C15: 6.699mm inside top edge
- J2: 1.704mm inside top edge
- T2: 13.698mm inside right edge
- R19: 39.416mm inside top edge
- D3: 4.029mm inside top edge
- C16: 1.099mm inside top edge
- J5: 1.704mm inside top edge
- T3: 29.884mm inside top edge
- R20: 29.889mm inside top edge
- D4: 17.936mm inside top edge
- C17: 15.481mm inside top edge
- J6: 15.147mm inside top edge
- T4: 34.347mm inside top edge
- R21: 38.736mm inside bottom edge
- D5: 22.136mm inside top edge
- C18: 26.341mm inside top edge
- J4: 22.135mm inside top edge
- LED4: 8.89mm inside right edge
- LED5: 6.43mm inside right edge
- LED6: 2.47mm inside right edge
- R15: 8.89mm inside right edge
- R16: 6.43mm inside right edge
- R17: 3.97mm inside right edge

flagged components:
- J1
  source placement: placement_mode=none
  resolved placement: center=(22.765mm, -19.008mm) on top; bounds=(minX=19.665mm, maxX=25.865mm, minY=-23.933mm, maxY=-14.083mm); size=(width=6.2mm, height=9.85mm); anchor_alignment="center"
  board edge status: 16.067mm inside top edge
  issues:
  - J1 and IC1 courtyard collision by 0.1mm. Suggested move: move IC1 0.1mm up.
- R1
  source placement: placement_mode=none
  resolved placement: center=(48.675mm, -13.876mm) on top; bounds=(minX=48.2mm, maxX=49.15mm, minY=-15.101mm, maxY=-12.651mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 5.85mm inside right edge
  issues:
  - R1 and C4 courtyard collision by 0.5mm. Suggested move: move C4 0.5mm right.
- IC1
  source placement: placement_mode=none
  resolved placement: center=(22.416mm, -27.524mm) on top; bounds=(minX=18.908mm, maxX=25.925mm, minY=-29.729mm, maxY=-25.319mm); size=(width=7.017mm, height=4.41mm); anchor_alignment="center"
  board edge status: 10.271mm inside top edge
  issues:
  - J1 and IC1 courtyard collision by 0.1mm. Suggested move: move IC1 0.1mm up.
  - IC1 and J3 courtyard collision by 0.1mm. Suggested move: move IC1 0.1mm down.
- LED2
  source placement: placement_mode=none
  resolved placement: center=(43.299mm, -23.196mm) on top; bounds=(minX=42.824mm, maxX=43.774mm, minY=-24.421mm, maxY=-21.971mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 11.226mm inside right edge
  issues:
  - LED2 and C6 courtyard collision by 0.5mm. Suggested move: move C6 0.5mm right.
- C4
  source placement: placement_mode=none
  resolved placement: center=(51.135mm, -13.876mm) on top; bounds=(minX=50.66mm, maxX=51.61mm, minY=-15.101mm, maxY=-12.651mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 3.39mm inside right edge
  issues:
  - R1 and C4 courtyard collision by 0.5mm. Suggested move: move C4 0.5mm right.
- C5
  source placement: placement_mode=none
  resolved placement: center=(18.429mm, -11.776mm) on top; bounds=(minX=17.954mm, maxX=18.904mm, minY=-13.001mm, maxY=-10.551mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 26.999mm inside top edge
  issues:
  - C5 and J9 courtyard collision by 0.683mm. Suggested move: move C5 0.683mm up.
- J3
  source placement: placement_mode=none
  resolved placement: center=(21.471mm, -34.717mm) on top; bounds=(minX=16.971mm, maxX=25.971mm, minY=-37.967mm, maxY=-31.467mm); size=(width=9mm, height=6.5mm); anchor_alignment="center"
  board edge status: 2.033mm inside top edge
  issues:
  - IC1 and J3 courtyard collision by 0.1mm. Suggested move: move IC1 0.1mm down.
- U4
  source placement: placement_mode=none
  resolved placement: center=(18.429mm, -7.816mm) on top; bounds=(minX=17.954mm, maxX=18.904mm, minY=-9.041mm, maxY=-6.591mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 30.959mm inside top edge
  issues:
  - U4 and J9 courtyard collision by 0.357mm. Suggested move: move U4 0.357mm down.
- C6
  source placement: placement_mode=none
  resolved placement: center=(45.759mm, -23.196mm) on top; bounds=(minX=45.284mm, maxX=46.234mm, minY=-24.421mm, maxY=-21.971mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 8.766mm inside right edge
  issues:
  - LED2 and C6 courtyard collision by 0.5mm. Suggested move: move C6 0.5mm right.
- R8
  source placement: placement_mode=none
  resolved placement: center=(48.675mm, -7.704mm) on top; bounds=(minX=48.2mm, maxX=49.15mm, minY=-8.929mm, maxY=-6.479mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 5.85mm inside right edge
  issues:
  - R8 and J8 courtyard collision by 1.46mm. Suggested move: move R8 1.46mm up.
  - R8 and R11 courtyard collision by 0.5mm. Suggested move: move R11 0.5mm right.
- R9
  source placement: placement_mode=none
  resolved placement: center=(48.675mm, -3.744mm) on top; bounds=(minX=48.2mm, maxX=49.15mm, minY=-4.969mm, maxY=-2.519mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 5.85mm inside right edge
  issues:
  - R9 and R12 courtyard collision by 0.5mm. Suggested move: move R12 0.5mm right.
- U8
  source placement: placement_mode=none
  resolved placement: center=(32.153mm, -3.109mm) on top; bounds=(minX=22.153mm, maxX=42.153mm, minY=-12.839mm, maxY=6.621mm); size=(width=20mm, height=19.46mm); anchor_alignment="center"
  board edge status: 12.847mm inside right edge
  issues:
  - U8 and J8 courtyard collision by 3.54mm. Suggested move: move U8 3.54mm down.
  - U8 and J9 courtyard collision by 1.566mm. Suggested move: move U8 1.566mm right.
- C9
  source placement: placement_mode=none
  resolved placement: center=(19.753mm, 4.601mm) on top; bounds=(minX=19.278mm, maxX=20.228mm, minY=3.376mm, maxY=5.826mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 34.174mm inside bottom edge
  issues:
  - C9 and C10 courtyard collision by 0.5mm. Suggested move: move C10 0.5mm left.
- C10
  source placement: placement_mode=none
  resolved placement: center=(17.293mm, 4.581mm) on top; bounds=(minX=16.818mm, maxX=17.768mm, minY=3.356mm, maxY=5.806mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 34.194mm inside bottom edge
  issues:
  - C9 and C10 courtyard collision by 0.5mm. Suggested move: move C10 0.5mm left.
  - C10 and C14 courtyard collision by 0.5mm. Suggested move: move C14 0.5mm left.
- R11
  source placement: placement_mode=none
  resolved placement: center=(51.135mm, -7.348mm) on top; bounds=(minX=50.66mm, maxX=51.61mm, minY=-8.573mm, maxY=-6.123mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 3.39mm inside right edge
  issues:
  - R11 and J8 courtyard collision by 1.46mm. Suggested move: move R11 1.46mm up.
  - R8 and R11 courtyard collision by 0.5mm. Suggested move: move R11 0.5mm right.
- C14
  source placement: placement_mode=none
  resolved placement: center=(14.833mm, 4.581mm) on top; bounds=(minX=14.358mm, maxX=15.308mm, minY=3.356mm, maxY=5.806mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 34.194mm inside bottom edge
  issues:
  - C10 and C14 courtyard collision by 0.5mm. Suggested move: move C14 0.5mm left.
- R12
  source placement: placement_mode=none
  resolved placement: center=(51.135mm, -3.388mm) on top; bounds=(minX=50.66mm, maxX=51.61mm, minY=-4.613mm, maxY=-2.163mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 3.39mm inside right edge
  issues:
  - R9 and R12 courtyard collision by 0.5mm. Suggested move: move R12 0.5mm right.
- J8
  source placement: placement_mode=none
  resolved placement: center=(45.175mm, -7.236mm) on top; bounds=(minX=44.425mm, maxX=45.925mm, minY=-14.336mm, maxY=-0.136mm); size=(width=1.5mm, height=14.2mm); anchor_alignment="center"
  board edge status: 9.075mm inside right edge
  issues:
  - U8 and J8 courtyard collision by 3.54mm. Suggested move: move U8 3.54mm down.
  - R8 and J8 courtyard collision by 1.46mm. Suggested move: move R8 1.46mm up.
  - R11 and J8 courtyard collision by 1.46mm. Suggested move: move R11 1.46mm up.
- J9
  source placement: placement_mode=none
  resolved placement: center=(14.929mm, -9.959mm) on top; bounds=(minX=14.179mm, maxX=15.679mm, minY=-17.059mm, maxY=-2.859mm); size=(width=1.5mm, height=14.2mm); anchor_alignment="center"
  board edge status: 22.941mm inside top edge
  issues:
  - J9 and T3 courtyard collision by 2.186mm. Suggested move: move T3 2.186mm down.
  - U8 and J9 courtyard collision by 1.566mm. Suggested move: move U8 1.566mm right.
  - J9 and R20 courtyard collision by 1.427mm. Suggested move: move R20 1.427mm down.
  - C5 and J9 courtyard collision by 0.683mm. Suggested move: move C5 0.683mm up.
  - J9 and J4 courtyard collision by 0.363mm. Suggested move: move J9 0.363mm down.
  - U4 and J9 courtyard collision by 0.357mm. Suggested move: move U4 0.357mm down.
- D2
  source placement: placement_mode=none
  resolved placement: center=(42.19mm, -32.196mm) on top; bounds=(minX=41.965mm, maxX=42.415mm, minY=-33.546mm, maxY=-30.846mm); size=(width=0.45mm, height=2.7mm); anchor_alignment="center"
  board edge status: 6.454mm inside top edge
  issues:
  - D2 and C15 courtyard collision by 0.4mm. Suggested move: move D2 0.4mm left.
- C15
  source placement: placement_mode=none
  resolved placement: center=(44.87mm, -32.076mm) on top; bounds=(minX=44.395mm, maxX=45.345mm, minY=-33.301mm, maxY=-30.851mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 6.699mm inside top edge
  issues:
  - D2 and C15 courtyard collision by 0.4mm. Suggested move: move D2 0.4mm left.
- T3
  source placement: placement_mode=none
  resolved placement: center=(10.419mm, -8.635mm) on top; bounds=(minX=9.145mm, maxX=11.694mm, minY=-10.116mm, maxY=-7.153mm); size=(width=2.549mm, height=2.963mm); anchor_alignment="center"
  board edge status: 29.884mm inside top edge
  issues:
  - J9 and T3 courtyard collision by 2.186mm. Suggested move: move T3 2.186mm down.
- R20
  source placement: placement_mode=none
  resolved placement: center=(6.949mm, -8.886mm) on top; bounds=(minX=6.474mm, maxX=7.424mm, minY=-10.111mm, maxY=-7.661mm); size=(width=0.95mm, height=2.45mm); anchor_alignment="center"
  board edge status: 29.889mm inside top edge
  issues:
  - J9 and R20 courtyard collision by 1.427mm. Suggested move: move R20 1.427mm down.
- J4
  source placement: placement_mode=none
  resolved placement: center=(9.171mm, -14.74mm) on top; bounds=(minX=6.421mm, maxX=11.921mm, minY=-17.865mm, maxY=-11.615mm); size=(width=5.5mm, height=6.25mm); anchor_alignment="center"
  board edge status: 22.135mm inside top edge
  issues:
  - J9 and J4 courtyard collision by 0.363mm. Suggested move: move J9 0.363mm down.

placement drc:
Errors: 0
Warnings: 2
- pcb_connector_not_in_accessible_orientation_warning: component is facing x- but should face y- so the connector is accessible from the board edge
- pcb_connector_not_in_accessible_orientation_warning: component is facing y- but should face x+ so the connector is accessible from the board edge