main
John Lauer
Chip thumbnail widget, etched roll-up icon and named outlines
af26324
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
{
"plan": {
"schema": "adom/mark-plan@1",
"mpn": "AG5424",
"step": "/home/adom/project/hub-motor-robot/comptables/lib3/ag5424/AG5424/AG5424.step",
"footprint": "/home/adom/project/hub-motor-robot/comptables/lib3/ag5424/AG5424/AG5424.kicad_mod",
"standUp": [
{
"axis": "x",
"quarterTurns": 1
}
],
"standUpSource": "footprint model rotate",
"inputs": {
"up": "auto",
"face": "side",
"along": null,
"upSupplied": false,
"faceSupplied": true,
"faceSource": "--face side"
},
"face": "side",
"pin1": {
"source": "footprint pad 1",
"xyMm": [
0.0,
-2.8575
],
"corner": "left/middle"
},
"existingMarks": [],
"vendorMarking": {
"present": false,
"glyphFaces": 0,
"faces": []
},
"faceNormal": [
0.0,
-1.0,
0.0
],
"longAxis": {
"axis": "x",
"vector": [
1.0,
0.0,
0.0
],
"why": "long side wall (57.28 mm)",
"source": "side-wall",
"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": [
27.5521,
0.0199,
34.0521,
11.4199
],
"zMm": 12.5181,
"lengthMm": 6.5,
"heightMm": 11.4,
"why": "flat high band of the side wall",
"terminationsExcludedBy": null,
"trimmedEnds": [],
"keepouts": [],
"sideTurn": {
"axis": "x",
"quarterTurns": 3,
"textUpInTurnedFrame": [
0,
1,
0
],
"baselineInTurnedFrame": [
1.0,
0.0,
-0.0
]
},
"margins": {
"lengthEachSide": 0.12,
"heightEachSide": 0.15
}
},
"text": {
"lines": [
"AG",
"5424"
],
"chars": 6,
"capHeightMm": 1.5935,
"smallestLineMm": 1.5935,
"heightPctOfBand": 32.1,
"why": "two lines: the smaller line (1.593 mm) beats one line (1.042 mm) by 1.53x",
"alternative": {
"lines": [
"AG5424"
],
"capHeightMm": 1.0422,
"smallestLineMm": 1.0422
},
"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 AG5424 (stands the STEP up (footprint model rotate), turns it 180 deg about Z and draws AG / 5424 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": 6.57,
"capHeightPx": 8.5
},
"hints": [
"LED: the top window stays clear; the mark goes on the front long wall"
],
"warnings": [],
"summary": "Mark along the 6.50 mm axis (+X), 1.59 mm text (2 lines), upright with pin 1 left middle, outline rot 180 after a 180 deg pose turn; ~9 px caps at 320 px"
},
"etch": {
"out": "/home/adom/project/hub-motor-robot/comptables/lib3/ag5424/AG5424/AG5424-etched.step",
"mpn": "AG5424",
"lines": [
"AG",
"5424"
],
"removedOldMarks": [],
"turns": [
{
"axis": "x",
"quarterTurns": 1
},
{
"axis": "x",
"quarterTurns": 3
}
],
"serviceMarkTurnedQuarter": 0,
"line2Scaled": true,
"fit": {
"scale": 0.5266,
"capMm": 1.5376,
"markMm": [
4.94,
3.6082
],
"bandMm": [
6.5,
11.4
],
"zMm": 12.5231
}
}
}