{
 "commit": {
  "sha": "331af08b956b8e05e62a54d689564c92d47088e9",
  "date": "2023-02-12T00:39:07+02:00",
  "subject": "changed power switch to surface pads",
  "url": "https://github.com/badgineer/MP2-ESC/commit/331af08b956b8e05e62a54d689564c92d47088e9",
  "board": "Kicad_Project/CCC_ESC.kicad_pcb"
 },
 "project": {
  "title": "CCC ESC (MP2-ESC)",
  "repo": "https://github.com/badgineer/MP2-ESC",
  "licence": "BSD-3-Clause"
 },
 "impactDiff": {
  "schema": "nativecad.impactDiff/1",
  "inputs": {
   "before": {
    "format": "kicad_pcb",
    "source": {
     "repo": "https://github.com/badgineer/MP2-ESC",
     "sha": "d066b91c24dcaa0f600d0578b89d1738d83a7829",
     "path": "Kicad_Project/CCC_ESC.kicad_pcb"
    }
   },
   "after": {
    "format": "kicad_pcb",
    "source": {
     "repo": "https://github.com/badgineer/MP2-ESC",
     "sha": "331af08b956b8e05e62a54d689564c92d47088e9",
     "path": "Kicad_Project/CCC_ESC.kicad_pcb"
    }
   },
   "optionsSha256": null,
   "engine": null
  },
  "layoutDiff": {
   "schema": "pcbDiff/1",
   "identical": false,
   "tolerances": {
    "posTol": 0.001,
    "rotTol": 0.01,
    "widthTol": 0.0001,
    "drillTol": 0.0001,
    "lengthTol": 0.0001,
    "areaTol": 0.000001,
    "thickTol": 0.000001,
    "routeTol": 0.01,
    "sampleStep": 0.1,
    "minPadOverlap": 0.6
   },
   "summary": {
    "components": {
     "added": 0,
     "removed": 0,
     "renamed": 0,
     "moved": 1,
     "rotated": 0,
     "flipped": 0,
     "footprintChanged": 1,
     "valueChanged": 0
    },
    "nets": {
     "added": 0,
     "removed": 0,
     "renamed": 0,
     "changed": 3,
     "rerouted": 2
    },
    "outlineChanged": false,
    "stackupChanged": false
   },
   "components": {
    "source": "explicit",
    "counts": {
     "a": 200,
     "b": 200
    },
    "added": [],
    "removed": [],
    "renamed": [],
    "moved": [
     {
      "refdes": "SW1",
      "from": [
       51.5,
       87.705
      ],
      "to": [
       51.275,
       86.525
      ],
      "delta": [
       -0.225,
       -1.18
      ],
      "distance": 1.201259755
     }
    ],
    "rotated": [],
    "flipped": [],
    "footprintChanged": [
     {
      "refdes": "SW1",
      "from": "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical",
      "to": "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder",
      "pads": {
       "added": [],
       "removed": [],
       "changed": [
        {
         "pin": "1",
         "what": [
          "shape",
          "position"
         ]
        },
        {
         "pin": "2",
         "what": [
          "shape",
          "position"
         ]
        }
       ]
      }
     }
    ],
    "valueChanged": []
   },
   "nets": {
    "added": [],
    "removed": [],
    "renamed": [],
    "changed": [
     {
      "name": "GND",
      "length": {
       "a": 19.250035105,
       "b": 19.250035105,
       "delta": 0,
       "perLayer": {}
      },
      "width": {
       "min": {
        "a": 0.2,
        "b": 0.2
       },
       "max": {
        "a": 2,
        "b": 2
       },
       "perLayer": {}
      },
      "copperArea": {
       "a": 16023.243439228,
       "b": 16052.756075965,
       "delta": 29.512636737,
       "perLayer": {
        "F.Cu": {
         "a": 2859.67113128,
         "b": 2861.476448097,
         "delta": 1.805316817
        },
        "B.Cu": {
         "a": 3324.429649403,
         "b": 3333.749693253,
         "delta": 9.320043849
        },
        "In2.Cu": {
         "a": 3952.635725834,
         "b": 3961.829363962,
         "delta": 9.193638127
        },
        "In1.Cu": {
         "a": 5886.50693271,
         "b": 5895.700570654,
         "delta": 9.193637944
        }
       },
       "note": "pour (region) area only"
      },
      "vias": {
       "a": 576,
       "b": 576,
       "delta": 0,
       "drills": {
        "a": {
         "0.4": 437,
         "0.3": 139
        },
        "b": {
         "0.4": 437,
         "0.3": 139
        }
       },
       "drillDelta": {}
      },
      "pads": {
       "a": 103,
       "b": 103,
       "added": [],
       "removed": []
      },
      "reroutedLengthMm": {
       "removed": 0,
       "added": 0
      },
      "viasMoved": {
       "removed": 0,
       "added": 0
      },
      "rerouted": false
     },
     {
      "name": "Net-(C5-Pad1)",
      "length": {
       "a": 32.480188682,
       "b": 32.224097412,
       "delta": -0.25609127,
       "perLayer": {
        "F.Cu": {
         "a": 27.062599626,
         "b": 26.806508355,
         "delta": -0.25609127
        }
       }
      },
      "width": {
       "min": {
        "a": 0.7,
        "b": 0.7
       },
       "max": {
        "a": 2,
        "b": 2
       },
       "perLayer": {}
      },
      "copperArea": {
       "a": 0,
       "b": 0,
       "delta": 0,
       "perLayer": {},
       "note": "pour (region) area only"
      },
      "vias": {
       "a": 0,
       "b": 0,
       "delta": 0,
       "drills": {
        "a": {},
        "b": {}
       },
       "drillDelta": {}
      },
      "pads": {
       "a": 5,
       "b": 5,
       "added": [],
       "removed": []
      },
      "reroutedLengthMm": {
       "removed": 3.857132034,
       "added": 3.601040764
      },
      "viasMoved": {
       "removed": 0,
       "added": 0
      },
      "rerouted": true
     },
     {
      "name": "Net-(SW1-Pad2)",
      "length": {
       "a": 19.763580286,
       "b": 18.979746571,
       "delta": -0.783833715,
       "perLayer": {
        "B.Cu": {
         "a": 17.278808462,
         "b": 16.494974747,
         "delta": -0.783833715
        }
       }
      },
      "width": {
       "min": {
        "a": 0.5,
        "b": 0.5
       },
       "max": {
        "a": 0.5,
        "b": 0.5
       },
       "perLayer": {}
      },
      "copperArea": {
       "a": 0,
       "b": 0,
       "delta": 0,
       "perLayer": {},
       "note": "pour (region) area only"
      },
      "vias": {
       "a": 1,
       "b": 2,
       "delta": 1,
       "drills": {
        "a": {
         "0.3": 1
        },
        "b": {
         "0.3": 2
        }
       },
       "drillDelta": {
        "0.3": {
         "a": 1,
         "b": 2
        }
       }
      },
      "pads": {
       "a": 3,
       "b": 3,
       "added": [],
       "removed": []
      },
      "reroutedLengthMm": {
       "removed": 0.918547265,
       "added": 0.10069155
      },
      "viasMoved": {
       "removed": 0,
       "added": 1
      },
      "rerouted": true
     }
    ]
   },
   "outline": {
    "changed": false,
    "loops": {
     "a": 1,
     "b": 1
    },
    "bbox": {
     "a": [
      50,
      47,
      150,
      122
     ],
     "b": [
      50,
      47,
      150,
      122
     ]
    },
    "size": {
     "a": [
      100,
      75
     ],
     "b": [
      100,
      75
     ]
    },
    "perimeterMm": {
     "a": 350,
     "b": 350,
     "delta": 0
    },
    "areaMm2": {
     "a": 7500,
     "b": 7500,
     "delta": 0
    },
    "changedLengthMm": {
     "removed": 0,
     "added": 0
    }
   },
   "stackup": {
    "changed": false,
    "added": [],
    "removed": [],
    "modified": [],
    "reordered": false,
    "thickness": null
   },
   "warnings": []
  },
  "bomDiff": {
   "summary": {
    "added": 0,
    "removed": 0,
    "qtyChanged": 0,
    "valueChanged": 0,
    "footprintChanged": 1,
    "mpnChanged": 0,
    "dnpToggled": 0,
    "categoryChanged": 0,
    "total": 1,
    "unchanged": 199
   },
   "added": [],
   "removed": [],
   "qtyChanged": [],
   "valueChanged": [],
   "footprintChanged": [
    {
     "kind": "footprint-changed",
     "category": "SCH",
     "key": "vf:conn_01x02|r_1206_3216metric_pad1.30x1.75mm_handsolder",
     "part": {
      "value": "Conn_01x02",
      "footprint": "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder"
     },
     "from": "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical",
     "to": "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder",
     "refs": [
      "SW1"
     ]
    }
   ],
   "mpnChanged": [],
   "dnpToggled": [],
   "categoryChanged": [],
   "byCategory": {
    "SCH": {
     "footprintChanged": 1
    },
    "PCB": {},
    "BOARD_FEATURE": {}
   }
  },
  "impacts": [
   {
    "id": "ec1010684a3b54f2",
    "kind": "returnPath",
    "net": "Net-(C5-Pad1)",
    "metric": "finding.edge-proximity",
    "before": 4,
    "after": 6,
    "delta": 2,
    "severity": "medium",
    "why": "Net-(C5-Pad1): rerouted (3.601 mm new copper); SW1 moved 1.201 mm; SW1 footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical -> Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder - edge-proximity findings 4 -> 6 (a return-path finding appeared).",
    "causes": [
     "layoutDiff.components.moved[SW1]",
     "layoutDiff.nets.changed[Net-(C5-Pad1)]"
    ],
    "assumptionDependent": true
   },
   {
    "id": "50fd609128641190",
    "kind": "bom",
    "ref": "SW1",
    "category": "SCH",
    "metric": "footprint",
    "before": "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical",
    "after": "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder",
    "delta": null,
    "severity": "info",
    "why": "SCH line Conn_01x02 R_1206_3216Metric_Pad1.30x1.75mm_HandSolder: SW1 footprint changed (Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical -> Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder).",
    "causes": [
     "bomDiff.footprintChanged[SW1]"
    ],
    "assumptionDependent": false
   }
  ],
  "summary": {
   "counts": {
    "high": 0,
    "medium": 1,
    "low": 0,
    "info": 1
   },
   "headline": "2 impact(s) (1 medium); worst: Net-(C5-Pad1): rerouted (3.601 mm new copper); SW1 moved 1.201 mm; SW1 footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical -> Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder - edge-proximity findings 4 -> 6 (a return-path finding appeared).",
   "markdown": "**2 impact(s) (1 medium); worst: Net-(C5-Pad1): rerouted (3.601 mm new copper); SW1 moved 1.201 mm; SW1 footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical -> Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder - edge-proximity findings 4 -> 6 (a return-path finding appeared).** Layout: components: 1 moved, 1 with a new footprint; nets: 1 changed, 2 rerouted. BOM: 1 changed footprint. Re-analysed on both revisions, for the changed nets and parts only: impedance, cert, returnPath. MEDIUM: Net-(C5-Pad1): rerouted (3.601 mm new copper); SW1 moved 1.201 mm; SW1 footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical -> Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder - edge-proximity findings 4 -> 6 (a return-path finding appeared). Not run for missing inputs: cert.creepage (see refused). Rows marked assumptionDependent rest on ledgered typical values."
  },
  "analysed": {
   "ran": [
    "impedance",
    "cert",
    "returnPath"
   ],
   "nets": [
    "GND",
    "Net-(C5-Pad1)",
    "Net-(SW1-Pad2)"
   ],
   "rails": []
  },
  "assumptions": {
   "before": [
    {
     "source": "default",
     "analysis": "impedance",
     "key": "mask.er",
     "value": 3.8,
     "citation": "LPI solder mask epsilon_r 3.8 (NativeCAD default)",
     "verified": false,
     "affects": [
      "outer-layer traces"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "fab",
     "value": "jlcpcb",
     "citation": "fab profile jlcpcb (NativeCAD default)",
     "verified": true,
     "affects": []
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipc6012.drillPositionTolMm",
     "value": 0.075,
     "unit": "mm",
     "citation": "NativeCAD default (typical standard-technology rigid fab; no fab publishes it)",
     "verified": false,
     "affects": [
      "ipc6012"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipc6012.innerRegistrationTolMm",
     "value": 0.075,
     "unit": "mm",
     "citation": "NativeCAD default (typical standard-technology rigid fab; no fab publishes it)",
     "verified": false,
     "affects": [
      "ipc6012"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipc6012.outerRegistrationTolMm",
     "value": 0.05,
     "unit": "mm",
     "citation": "NativeCAD default (typical standard-technology rigid fab; no fab publishes it)",
     "verified": false,
     "affects": [
      "ipc6012"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipcClass",
     "value": "2",
     "citation": "IPC-6012 Class 2 (dedicated service) - the general commercial default",
     "verified": true,
     "affects": []
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "motC",
     "value": 105,
     "citation": "requested MOT 105 C (FR-4 laminates' common UL RTI)",
     "verified": false,
     "affects": [],
     "unit": "C"
    },
    {
     "source": "default",
     "analysis": "returnPath",
     "key": "erEff",
     "value": 4,
     "citation": "effective epsilon_r 4 for the stitching distance (NativeCAD default)",
     "verified": false,
     "affects": []
    },
    {
     "source": "derived",
     "analysis": "returnPath",
     "key": "planes",
     "value": [
      "In1.Cu:GND",
      "In2.Cu:GND"
     ],
     "citation": "inner layer with >= 30 % pour cover of one net (outer: >= 80 % and no other net's traces); voids = holes >= 2 mm^2 in that net's pours, as bounding rectangles",
     "affects": [
      "every finding"
     ]
    },
    {
     "source": "default",
     "analysis": "returnPath",
     "key": "riseTimeNs",
     "value": 1,
     "citation": "edge rise time 1 ns, f_knee = 0.35 / t_r (Johnson & Graham)",
     "verified": true,
     "affects": [],
     "unit": "ns"
    }
   ],
   "after": [
    {
     "source": "default",
     "analysis": "impedance",
     "key": "mask.er",
     "value": 3.8,
     "citation": "LPI solder mask epsilon_r 3.8 (NativeCAD default)",
     "verified": false,
     "affects": [
      "outer-layer traces"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "fab",
     "value": "jlcpcb",
     "citation": "fab profile jlcpcb (NativeCAD default)",
     "verified": true,
     "affects": []
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipc6012.drillPositionTolMm",
     "value": 0.075,
     "unit": "mm",
     "citation": "NativeCAD default (typical standard-technology rigid fab; no fab publishes it)",
     "verified": false,
     "affects": [
      "ipc6012"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipc6012.innerRegistrationTolMm",
     "value": 0.075,
     "unit": "mm",
     "citation": "NativeCAD default (typical standard-technology rigid fab; no fab publishes it)",
     "verified": false,
     "affects": [
      "ipc6012"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipc6012.outerRegistrationTolMm",
     "value": 0.05,
     "unit": "mm",
     "citation": "NativeCAD default (typical standard-technology rigid fab; no fab publishes it)",
     "verified": false,
     "affects": [
      "ipc6012"
     ]
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "ipcClass",
     "value": "2",
     "citation": "IPC-6012 Class 2 (dedicated service) - the general commercial default",
     "verified": true,
     "affects": []
    },
    {
     "source": "default",
     "analysis": "cert",
     "key": "motC",
     "value": 105,
     "citation": "requested MOT 105 C (FR-4 laminates' common UL RTI)",
     "verified": false,
     "affects": [],
     "unit": "C"
    },
    {
     "source": "default",
     "analysis": "returnPath",
     "key": "erEff",
     "value": 4,
     "citation": "effective epsilon_r 4 for the stitching distance (NativeCAD default)",
     "verified": false,
     "affects": []
    },
    {
     "source": "derived",
     "analysis": "returnPath",
     "key": "planes",
     "value": [
      "In1.Cu:GND",
      "In2.Cu:GND"
     ],
     "citation": "inner layer with >= 30 % pour cover of one net (outer: >= 80 % and no other net's traces); voids = holes >= 2 mm^2 in that net's pours, as bounding rectangles",
     "affects": [
      "every finding"
     ]
    },
    {
     "source": "default",
     "analysis": "returnPath",
     "key": "riseTimeNs",
     "value": 1,
     "citation": "edge rise time 1 ns, f_knee = 0.35 / t_r (Johnson & Graham)",
     "verified": true,
     "affects": [],
     "unit": "ns"
    }
   ]
  },
  "refused": {
   "before": [
    {
     "analysis": "cert.creepage",
     "reasonCode": "pcb_analysis_needs_input",
     "needs": [
      "cert.pairs[].a",
      "cert.pairs[].b",
      "cert.pairs[].workingVrms"
     ],
     "remedy": "creepage needs the net pairs and the working voltage between them; UL 796 and IPC-6012 ran without them",
     "requested": false
    }
   ],
   "after": [
    {
     "analysis": "cert.creepage",
     "reasonCode": "pcb_analysis_needs_input",
     "needs": [
      "cert.pairs[].a",
      "cert.pairs[].b",
      "cert.pairs[].workingVrms"
     ],
     "remedy": "creepage needs the net pairs and the working voltage between them; UL 796 and IPC-6012 ran without them",
     "requested": false
    }
   ]
  }
 }
}