main
John Lauer Chip thumbnail widget, etched roll-up icon and named outlines a412581
{
 "plan": {
  "schema": "adom/mark-plan@1",
  "mpn": "SN74HC21PWRG4",
  "step": "/home/adom/project/hub-motor-robot/comptables/lib3/sn74hc21pwrg4/SN74HC21PWRG4/SN74HC21PWRG4.step",
  "footprint": "/home/adom/project/hub-motor-robot/comptables/lib3/sn74hc21pwrg4/SN74HC21PWRG4/SN74HC21PWRG4.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,
    1.95
   ],
   "corner": "left/lower"
  },
  "existingMarks": [
   "Adom.LaserEtch"
  ],
  "vendorMarking": {
   "present": false,
   "glyphFaces": 0,
   "faces": []
  },
  "faceNormal": [
   0,
   0,
   1
  ],
  "longAxis": {
   "axis": "y",
   "vector": [
    0.0,
    1.0,
    0.0
   ],
   "why": "two pin rows (7 + 7 pins, 5.72 mm apart): parallel to the pin rows (band 3.77 mm along, 4.14 mm across)",
   "source": "pin-rows",
   "override": null,
   "pinRows": {
    "axis": "y",
    "pinsPerRow": [
     7,
     7
    ],
    "rowSpacingMm": 5.725,
    "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": [
    -2.0703,
    -2.3703,
    2.0703,
    1.4003
   ],
   "zMm": 1.0,
   "lengthMm": 3.7706,
   "heightMm": 4.1406,
   "why": "highest flat face over the body centre",
   "terminationsExcludedBy": null,
   "trimmedEnds": [],
   "keepouts": [
    [
     -1.6203,
     1.4203,
     -1.1203,
     1.9203
    ]
   ],
   "sideTurn": null,
   "margins": {
    "lengthEachSide": 0.12,
    "heightEachSide": 0.15
   }
  },
  "text": {
   "lines": [
    "SN74HC",
    "21PWRG4"
   ],
   "chars": 13,
   "capHeightMm": 0.5154,
   "smallestLineMm": 0.5154,
   "heightPctOfBand": 28.6,
   "why": "two lines: the smaller line (0.515 mm) beats one line (0.273 mm) by 1.88x",
   "alternative": {
    "lines": [
     "SN74HC21PWRG4"
    ],
    "capHeightMm": 0.2734,
    "smallestLineMm": 0.2734
   },
   "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 SN74HC21PWRG4 (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws SN74HC / 21PWRG4 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": 38.57,
   "capHeightPx": 16.2
  },
  "hints": [],
  "warnings": [
   "the STEP already carries a mark (Adom.LaserEtch); etch from the plain model, or let adom-aiflow-etch replace it (it does by default)"
  ],
  "summary": "Mark along the 3.77 mm axis (-Y), 0.52 mm text (2 lines), upright with pin 1 left lower, outline rot 90 after a 180 deg pose turn; ~16 px caps at 320 px"
 },
 "etch": {
  "out": "/home/adom/project/hub-motor-robot/comptables/lib3/sn74hc21pwrg4/SN74HC21PWRG4/SN74HC21PWRG4-etched.step",
  "mpn": "SN74HC21PWRG4",
  "lines": [
   "SN74HC",
   "21PWRG4"
  ],
  "removedOldMarks": [
   "Adom.LaserEtch"
  ],
  "turns": [
   {
    "axis": "z",
    "quarterTurns": 1
   }
  ],
  "serviceMarkTurnedQuarter": 3,
  "line2Scaled": true,
  "fit": {
   "scale": 0.6707,
   "capMm": 0.501,
   "markMm": [
    2.8657,
    1.19
   ],
   "bandMm": [
    3.7706,
    4.1406
   ],
   "zMm": 1.005
  }
 }
}