master
John Lauer 3D model from KiCad's own package generator at the datasheet's values: radiused gull-wing leads in matte tin, reviewed… ee7a939
{
 "plan": {
  "schema": "adom/mark-plan@1",
  "mpn": "AP2112K-3.3TRG1",
  "step": "/home/adom/project/kicad-gen/work/ap2112k-3-3trg1/ap2112k-3-3trg1.step",
  "footprint": "/home/adom/project/kicad-gen/work/ap2112k-3-3trg1/ap2112k-3-3trg1.kicad_mod",
  "standUp": [],
  "standUpSource": "as-is (Z up)",
  "inputs": {
   "up": "auto",
   "face": "auto",
   "along": null,
   "upSupplied": false,
   "faceSupplied": false,
   "faceSource": "inferred: top face"
  },
  "face": "top",
  "pin1": {
   "source": "footprint pad 1",
   "xyMm": [
    -1.1375,
    0.95
   ],
   "corner": "left/lower"
  },
  "existingMarks": [],
  "vendorMarking": {
   "present": false,
   "glyphFaces": 4
  },
  "faceNormal": [
   0,
   0,
   1
  ],
  "longAxis": {
   "axis": "y",
   "vector": [
    0.0,
    1.0,
    0.0
   ],
   "why": "two pin rows (3 + 2 pins, 2.27 mm apart): parallel to the pin rows (band 2.60 mm along, 1.47 mm across)",
   "source": "pin-rows",
   "override": null,
   "pinRows": {
    "axis": "y",
    "pinsPerRow": [
     3,
     2
    ],
    "rowSpacingMm": 2.275,
    "exposed": 0
   }
  },
  "readingDirection": {
   "vector": [
    -0.0,
    -1.0,
    0.0
   ],
   "angleDeg": 270,
   "textUp": [
    1.0,
    -0.0,
    0.0
   ],
   "rule": "pin 1 / pad 1 at the start (left) of the text, and below it when it sits on a side"
  },
  "band": {
   "regionMm": [
    -0.7364,
    -1.4364,
    0.7364,
    1.1664
   ],
   "zMm": 1.15,
   "lengthMm": 2.6028,
   "heightMm": 1.4728,
   "why": "highest flat face over the body centre",
   "terminationsExcludedBy": null,
   "trimmedEnds": [],
   "keepouts": [
    [
     -0.5864,
     1.1864,
     -0.4864,
     1.2864
    ]
   ],
   "sideTurn": null,
   "margins": {
    "lengthEachSide": 0.12,
    "heightEachSide": 0.15
   }
  },
  "text": {
   "lines": [
    "AP2112K-",
    "3.3TRG1"
   ],
   "chars": 15,
   "capHeightMm": 0.3101,
   "smallestLineMm": 0.3101,
   "heightPctOfBand": 48.4,
   "why": "two lines: the smaller line (0.310 mm) beats one line (0.163 mm) by 1.90x",
   "alternative": {
    "lines": [
     "AP2112K-3.3TRG1"
    ],
    "capHeightMm": 0.1632,
    "smallestLineMm": 0.1632
   },
   "font": "service-step2glb /laser-etch (single-stroke outline font)"
  },
  "etch": {
   "poseQuarterTurnsZ": 1,
   "service": "/laser-etch?mode=flat",
   "note": "turn so the reading direction is +X, etch, fit the mark into the band, turn back"
  },
  "outline": {
   "upAxis": "z",
   "poseRotZDeg": 180,
   "rot": 90,
   "recipe": "adom-aiflow-etch outline <part.step> --footprint <part.kicad_mod> --mpn AP2112K-3.3TRG1 (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws AP2112K- / 3.3TRG1 on the planned band, rot 90)",
   "why": "iso camera looks from +X+Y+Z: text along +Y (rot 90) or -X (rot 180) reads left to right with pin 1 toward the viewer"
  },
  "widget": {
   "px": 320,
   "pxPerMm": 80.18,
   "capHeightPx": 20.3
  },
  "hints": [
   "the top face is stored with a reversed normal (0,0,-1), as in KiCad's stock SOIC / TSSOP models; it is the top face by position (top of the part's bbox)"
  ],
  "warnings": [],
  "summary": "Mark along the 2.60 mm axis (-Y), 0.31 mm text (2 lines), upright with pin 1 left lower, outline rot 90 after a 180 deg pose turn; ~20 px caps at 320 px"
 },
 "etch": {
  "out": "/home/adom/project/kicad-gen/work/ap2112k-3-3trg1/ap2112k-3-3trg1-etched.step",
  "mpn": "AP2112K-3.3TRG1",
  "lines": [
   "G3P"
  ],
  "removedOldMarks": [],
  "turns": [
   {
    "axis": "z",
    "quarterTurns": 1
   }
  ],
  "serviceMarkTurnedQuarter": 0,
  "line2Scaled": false,
  "fit": {
   "scale": 0.8551,
   "capMm": 0.8481,
   "markMm": [
    1.9781,
    0.8481
   ],
   "bandMm": [
    2.6028,
    1.4728
   ],
   "zMm": 1.155
  }
 }
}