main
John Lauer
Chip thumbnail widget, etched roll-up icon and named outlines
53e0f73
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
{
"plan": {
"schema": "adom/mark-plan@1",
"mpn": "BZT52C12",
"step": "/home/adom/project/hub-motor-robot/comptables/lib3/bzt52c12/BZT52C12/BZT52C12.step",
"footprint": "/home/adom/project/hub-motor-robot/comptables/lib3/bzt52c12/BZT52C12/BZT52C12.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.4,
-0.0
],
"corner": "left/middle"
},
"existingMarks": [
"Adom.LaserEtch"
],
"vendorMarking": {
"present": false,
"glyphFaces": 0,
"faces": []
},
"faceNormal": [
0,
0,
1
],
"longAxis": {
"axis": "x",
"vector": [
1.0,
0.0,
0.0
],
"why": "two-terminal part: along the body, pad 1 to pad 2 (between the terminations)",
"source": "two-terminal",
"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": [
-1.2371,
-0.7371,
1.2371,
0.7371
],
"zMm": 1.1,
"lengthMm": 2.4742,
"heightMm": 1.4742,
"why": "highest flat face over the body centre",
"terminationsExcludedBy": null,
"trimmedEnds": [],
"keepouts": [],
"sideTurn": null,
"margins": {
"lengthEachSide": 0.12,
"heightEachSide": 0.15
}
},
"text": {
"lines": [
"BZT",
"52C12"
],
"chars": 8,
"capHeightMm": 0.4487,
"smallestLineMm": 0.4487,
"heightPctOfBand": 70.0,
"why": "two lines: the smaller line (0.449 mm) beats one line (0.295 mm) by 1.52x",
"alternative": {
"lines": [
"BZT52C12"
],
"capHeightMm": 0.2947,
"smallestLineMm": 0.2947
},
"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 BZT52C12 (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws BZT / 52C12 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": 96.97,
"capHeightPx": 35.5
},
"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": [
"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 2.47 mm axis (+X), 0.45 mm text (2 lines), upright with pin 1 left middle, outline rot 180 after a 180 deg pose turn; ~36 px caps at 320 px"
},
"etch": {
"out": "/home/adom/project/hub-motor-robot/comptables/lib3/bzt52c12/BZT52C12/BZT52C12-etched.step",
"mpn": "BZT52C12",
"lines": [
"BZT",
"52C12"
],
"removedOldMarks": [
"Adom.LaserEtch"
],
"turns": [],
"serviceMarkTurnedQuarter": 0,
"line2Scaled": true,
"fit": {
"scale": 0.7974,
"capMm": 0.4447,
"markMm": [
1.754,
1.0319
],
"bandMm": [
2.4742,
1.4742
],
"zMm": 1.105
}
}
}