main
John Lauer Publish 1.0.0 bba04f8
{
 "plan": {
  "schema": "adom/mark-plan@1",
  "mpn": "S3B-PH-SM4-TB(LF)(SN)",
  "step": "/tmp/if-rollup/s3b-ph-sm4-tb/s3b-ph-sm4-tb.step",
  "footprint": "/tmp/if-rollup/s3b-ph-sm4-tb/s3b-ph-sm4-tb.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.0,
    2.85
   ],
   "corner": "left/upper"
  },
  "existingMarks": [],
  "vendorMarking": {
   "present": false,
   "glyphFaces": 0,
   "faces": []
  },
  "faceNormal": [
   0,
   0,
   1
  ],
  "longAxis": {
   "axis": "x",
   "vector": [
    1.0,
    0.0,
    0.0
   ],
   "why": "longest usable top dimension (9.90 mm vs 6.00 mm)",
   "source": "longest",
   "override": null,
   "pinRows": null
  },
  "readingDirection": {
   "vector": [
    1.0,
    0.0,
    0.0
   ],
   "angleDeg": 0,
   "textUp": [
    -0.0,
    1.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": [
    -4.95,
    -4.4,
    4.95,
    1.6
   ],
   "zMm": 5.5,
   "lengthMm": 9.9,
   "heightMm": 6.0,
   "why": "highest flat face over the body centre",
   "terminationsExcludedBy": null,
   "trimmedEnds": [],
   "keepouts": [],
   "sideTurn": null,
   "margins": {
    "lengthEachSide": 0.12,
    "heightEachSide": 0.15
   }
  },
  "text": {
   "lines": [
    "S3B-PH-SM4-",
    "TB(LF)(SN)"
   ],
   "chars": 21,
   "capHeightMm": 0.8511,
   "smallestLineMm": 0.8511,
   "heightPctOfBand": 32.6,
   "why": "two lines: the smaller line (0.851 mm) beats one line (0.442 mm) by 1.93x",
   "alternative": {
    "lines": [
     "S3B-PH-SM4-TB(LF)(SN)"
    ],
    "capHeightMm": 0.4415,
    "smallestLineMm": 0.4415
   },
   "font": "service-step2glb /laser-etch (single-stroke outline font)"
  },
  "etch": {
   "poseQuarterTurnsZ": 0,
   "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": 180,
   "recipe": "adom-aiflow-etch outline <part.step> --footprint <part.kicad_mod> --mpn S3B-PH-SM4-TB(LF)(SN) (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws S3B-PH-SM4- / TB(LF)(SN) on the planned band, rot 180)",
   "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": 25.62,
   "capHeightPx": 17.8
  },
  "hints": [],
  "warnings": [
   "pin 1 lands UPPER-left in the standard pose (left/upper): the pads are numbered clockwise; check the footprint is not mirrored and the model matches it"
  ],
  "summary": "Mark along the 9.90 mm axis (+X), 0.85 mm text (2 lines), upright with pin 1 left upper, outline rot 180 after a 180 deg pose turn; ~18 px caps at 320 px"
 },
 "etch": {
  "out": "/tmp/if-rollup/library/S3B-PH-SM4-TB(LF)(SN)/S3B-PH-SM4-TB(LF)(SN)-etched.step",
  "mpn": "S3B-PH-SM4-TB(LF)(SN)",
  "lines": [
   "S3B-PH-SM4-",
   "TB(LF)(SN)"
  ],
  "removedOldMarks": [],
  "turns": [],
  "serviceMarkTurnedQuarter": 0,
  "line2Scaled": true,
  "fit": {
   "scale": 0.8751,
   "capMm": 0.8476,
   "markMm": [
    7.524,
    2.1489
   ],
   "bandMm": [
    9.9,
    6.0
   ],
   "zMm": 5.505
  }
 }
}