main
John Lauer 3D model from KiCad's own package generator at the p.81 values (6.40 mm over pins, radiused leads in matte tin, true 6.… 64b91f7
{
 "plan": {
  "schema": "adom/mark-plan@1",
  "mpn": "TMC2226-SA-T",
  "step": "/home/adom/project/kicad-gen/work/tmc2226-sa-t/tmc2226-sa-t.step",
  "footprint": "/home/adom/project/kicad-gen/work/tmc2226-sa-t/tmc2226-sa-t.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": [
    -2.8625,
    4.225
   ],
   "corner": "left/lower"
  },
  "existingMarks": [],
  "vendorMarking": {
   "present": true,
   "glyphFaces": 12
  },
  "faceNormal": [
   0,
   0,
   1
  ],
  "longAxis": {
   "axis": "y",
   "vector": [
    0.0,
    1.0,
    0.0
   ],
   "why": "two pin rows (14 + 14 pins, 5.72 mm apart): parallel to the pin rows (band 8.40 mm along, 4.07 mm across)",
   "source": "pin-rows",
   "override": null,
   "pinRows": {
    "axis": "y",
    "pinsPerRow": [
     14,
     14
    ],
    "rowSpacingMm": 5.725,
    "exposed": 1
   }
  },
  "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": [
    -2.0352,
    -4.6852,
    2.0352,
    3.7152
   ],
   "zMm": 1.1,
   "lengthMm": 8.4004,
   "heightMm": 4.0704,
   "why": "highest flat face over the body centre",
   "terminationsExcludedBy": null,
   "trimmedEnds": [],
   "keepouts": [
    [
     -1.5852,
     3.7352,
     -1.0852,
     4.2352
    ]
   ],
   "sideTurn": null,
   "margins": {
    "lengthEachSide": 0.12,
    "heightEachSide": 0.15
   }
  },
  "text": {
   "lines": [
    "TMC2226-",
    "SA-T"
   ],
   "chars": 12,
   "capHeightMm": 1.0007,
   "smallestLineMm": 1.0007,
   "heightPctOfBand": 56.5,
   "why": "two lines: the smaller line (1.001 mm) beats one line (0.661 mm) by 1.51x",
   "alternative": {
    "lines": [
     "TMC2226-SA-T"
    ],
    "capHeightMm": 0.6609,
    "smallestLineMm": 0.6609
   },
   "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 TMC2226-SA-T (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws TMC2226- / SA-T 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": 26.98,
   "capHeightPx": 22.0
  },
  "hints": [],
  "warnings": [
   "the vendor model already carries a printed marking (12 glyph faces on the top): keep the vendor model and do not etch over it (adom-aiflow-etch refuses unless --over-vendor-mark)"
  ],
  "summary": "Mark along the 8.40 mm axis (-Y), 1.00 mm text (2 lines), upright with pin 1 left lower, outline rot 90 after a 180 deg pose turn; ~22 px caps at 320 px"
 },
 "etch": {
  "out": "/home/adom/project/kicad-gen/work/tmc2226-sa-t/tmc2226-sa-t-etched.step",
  "mpn": "TMC2226-SA-T",
  "lines": [
   "TMC2226-SA"
  ],
  "removedOldMarks": [],
  "turns": [
   {
    "axis": "z",
    "quarterTurns": 1
   }
  ],
  "serviceMarkTurnedQuarter": 0,
  "line2Scaled": false,
  "fit": {
   "scale": 0.8773,
   "capMm": 0.7891,
   "markMm": [
    6.3843,
    0.8052
   ],
   "bandMm": [
    8.4004,
    4.0704
   ],
   "zMm": 1.105
  }
 }
}