main
John Lauer
Chip thumbnail widget, etched roll-up icon and named outlines
4b4c33f
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
{
"plan": {
"schema": "adom/mark-plan@1",
"mpn": "U.FL-R-SMT-1(80)",
"step": "/home/adom/project/hub-motor-robot/comptables/lib3/u-fl-r-smt-1-80/U.FL-R-SMT-1(80)/U.FL-R-SMT-1(80).step",
"footprint": "/home/adom/project/hub-motor-robot/comptables/lib3/u-fl-r-smt-1-80/U.FL-R-SMT-1(80)/U.FL-R-SMT-1(80).kicad_mod",
"standUp": [],
"standUpSource": "as-is (Z up)",
"inputs": {
"up": "auto",
"face": "side",
"along": null,
"upSupplied": false,
"faceSupplied": true,
"faceSource": "--face side"
},
"face": "side",
"pin1": {
"source": "footprint pad 1",
"xyMm": [
0.0,
-1.525
],
"corner": "left/middle"
},
"existingMarks": [],
"vendorMarking": {
"present": false,
"glyphFaces": 0,
"faces": []
},
"faceNormal": [
1.0,
-0.0,
0.0
],
"longAxis": {
"axis": "y",
"vector": [
0.0,
1.0,
0.0
],
"why": "long side wall (3.10 mm)",
"source": "side-wall",
"override": null,
"pinRows": null
},
"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": [
-0.15,
-0.9,
0.0,
0.9
],
"zMm": 1.5,
"lengthMm": 1.8,
"heightMm": 0.15,
"why": "flat high band of the side wall",
"terminationsExcludedBy": null,
"trimmedEnds": [],
"keepouts": [],
"sideTurn": {
"axis": "y",
"quarterTurns": 3,
"textUpInTurnedFrame": [
-1,
0,
0
],
"baselineInTurnedFrame": [
-0.0,
1.0,
0.0
]
},
"margins": {
"lengthEachSide": 0.12,
"heightEachSide": 0.15
}
},
"text": {
"lines": [
"U.FL-R-SMT-1(80)"
],
"chars": 16,
"capHeightMm": 0.105,
"smallestLineMm": 0.105,
"heightPctOfBand": 70.0,
"why": "one line (two lines would give 0.046 mm on the smaller line, not 1.15x larger)",
"alternative": {
"lines": [
"U.FL-",
"R-SMT-1(80)"
],
"capHeightMm": 0.0457,
"smallestLineMm": 0.0457
},
"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 U.FL-R-SMT-1(80) (stands the STEP up (as-is (Z up)), turns it 0 deg about Z and draws U.FL-R-SMT-1(80) 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": 78.33,
"capHeightPx": 6.7
},
"hints": [
"LED: the top window stays clear; the mark goes on the front long wall"
],
"warnings": [],
"summary": "Mark along the 1.80 mm axis (+Y), 0.10 mm text, upright with pin 1 left middle, outline rot 90 after a 0 deg pose turn; ~7 px caps at 320 px"
},
"etch": {
"out": "/home/adom/project/hub-motor-robot/comptables/lib3/u-fl-r-smt-1-80/U.FL-R-SMT-1(80)/U.FL-R-SMT-1(80)-etched.step",
"mpn": "U.FL-R-SMT-1(80)",
"lines": [
"U.FL-R-SMT-1(80)"
],
"removedOldMarks": [],
"turns": [
{
"axis": "y",
"quarterTurns": 3
},
{
"axis": "z",
"quarterTurns": 3
}
],
"serviceMarkTurnedQuarter": 0,
"line2Scaled": false,
"fit": {
"scale": 1.0,
"capMm": 0.0868,
"markMm": [
1.1136,
0.105
],
"bandMm": [
1.8,
0.15
],
"zMm": 1.505
}
}
}