main
John Lauer
Chip thumbnail widget, etched roll-up icon and named outlines
fb012a8
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
{
"schema": "adom/mark-plan@1",
"mpn": "BSC040N10NS5ATMA1",
"step": "/home/adom/project/hub-motor-robot/comptables/lib3/bsc040n10ns5atma1/BSC040N10NS5ATMA1/BSC040N10NS5ATMA1.step",
"footprint": "/home/adom/project/hub-motor-robot/comptables/lib3/bsc040n10ns5atma1/BSC040N10NS5ATMA1/BSC040N10NS5ATMA1.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.825,
1.905
],
"corner": "left/lower"
},
"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 (4 + 3 pins, 5.75 mm apart): parallel to the pin rows (band 4.20 mm along, 5.82 mm across)",
"source": "pin-rows",
"override": null,
"pinRows": {
"axis": "y",
"pinsPerRow": [
4,
3
],
"rowSpacingMm": 5.75,
"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.9091,
-2.5341,
2.9091,
1.6641
],
"zMm": 1.03,
"lengthMm": 4.1982,
"heightMm": 5.8182,
"why": "highest flat face over the body centre",
"terminationsExcludedBy": null,
"trimmedEnds": [],
"keepouts": [
[
-2.5591,
1.6841,
-2.0591,
2.1841
]
],
"sideTurn": null,
"margins": {
"lengthEachSide": 0.12,
"heightEachSide": 0.15
}
},
"text": {
"lines": [
"BSC040N10",
"NS5ATMA1"
],
"chars": 17,
"capHeightMm": 0.4431,
"smallestLineMm": 0.4431,
"heightPctOfBand": 17.5,
"why": "two lines: the smaller line (0.443 mm) beats one line (0.232 mm) by 1.91x",
"alternative": {
"lines": [
"BSC040N10NS5ATMA1"
],
"capHeightMm": 0.2319,
"smallestLineMm": 0.2319
},
"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 BSC040N10NS5ATMA1 (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws BSC040N10 / NS5ATMA1 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": 36.86,
"capHeightPx": 13.3
},
"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": [],
"summary": "Mark along the 4.20 mm axis (-Y), 0.44 mm text (2 lines), upright with pin 1 left lower, outline rot 90 after a 180 deg pose turn; ~13 px caps at 320 px"
}