main
John Lauer Publish 1.0.0 534e95f
{
 "plan": {
  "schema": "adom/mark-plan@1",
  "mpn": "R1S-3.312",
  "step": "/tmp/if-rollup/library/R1S-3.312/R1S-3.312.step",
  "footprint": "/tmp/if-rollup/owned/r1s-3-312/r1s-3-312.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": [
    -3.81,
    -5.1
   ],
   "corner": "left/upper"
  },
  "existingMarks": [],
  "vendorMarking": {
   "present": false,
   "glyphFaces": 0,
   "faces": []
  },
  "faceNormal": [
   0,
   0,
   1
  ],
  "longAxis": {
   "axis": "y",
   "vector": [
    0.0,
    1.0,
    0.0
   ],
   "why": "two pin rows (2 + 2 pins, 7.62 mm apart): parallel to the pin rows (band 10.70 mm along, 12.75 mm across)",
   "source": "pin-rows",
   "override": null,
   "pinRows": {
    "axis": "y",
    "pinsPerRow": [
     2,
     2
    ],
    "rowSpacingMm": 7.62,
    "exposed": 1
   }
  },
  "readingDirection": {
   "vector": [
    0.0,
    1.0,
    0.0
   ],
   "angleDeg": 90,
   "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": [
    -6.375,
    -5.35,
    6.375,
    5.35
   ],
   "zMm": 7.0,
   "lengthMm": 10.7,
   "heightMm": 12.75,
   "why": "highest flat face over the body centre",
   "terminationsExcludedBy": null,
   "trimmedEnds": [],
   "keepouts": [],
   "sideTurn": null,
   "margins": {
    "lengthEachSide": 0.12,
    "heightEachSide": 0.15
   }
  },
  "text": {
   "lines": [
    "R1S-",
    "3.312"
   ],
   "chars": 9,
   "capHeightMm": 2.0745,
   "smallestLineMm": 2.0745,
   "heightPctOfBand": 37.4,
   "why": "two lines: the smaller line (2.075 mm) beats one line (1.129 mm) by 1.84x",
   "alternative": {
    "lines": [
     "R1S-3.312"
    ],
    "capHeightMm": 1.1294,
    "smallestLineMm": 1.1294
   },
   "font": "service-step2glb /laser-etch (single-stroke outline font)"
  },
  "etch": {
   "poseQuarterTurnsZ": 3,
   "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": 0,
   "rot": 90,
   "recipe": "adom-aiflow-etch outline <part.step> --footprint <part.kicad_mod> --mpn R1S-3.312 (stands the STEP up (as-is (Z up)), turns it 0 deg about Z and draws R1S- / 3.312 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": 17.37,
   "capHeightPx": 29.4
  },
  "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 10.70 mm axis (+Y), 2.07 mm text (2 lines), upright with pin 1 left upper, outline rot 90 after a 0 deg pose turn; ~29 px caps at 320 px"
 },
 "etch": {
  "out": "/tmp/if-rollup/library/R1S-3.312/R1S-3.312-etched.step",
  "mpn": "R1S-3.312",
  "lines": [
   "R1S-",
   "3.312"
  ],
  "removedOldMarks": [],
  "turns": [
   {
    "axis": "z",
    "quarterTurns": 3
   }
  ],
  "serviceMarkTurnedQuarter": 0,
  "line2Scaled": true,
  "fit": {
   "scale": 0.6815,
   "capMm": 2.0815,
   "markMm": [
    8.132,
    4.8852
   ],
   "bandMm": [
    10.7,
    12.75
   ],
   "zMm": 7.005
  }
 }
}