main
John Lauer
Chip thumbnail widget, etched roll-up icon and named outlines
8842f04
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
{
"plan": {
"schema": "adom/mark-plan@1",
"mpn": "686615100001",
"step": "/home/adom/project/hub-motor-robot/comptables/ffc/page/686615100001.step",
"footprint": null,
"standUp": [],
"standUpSource": "as-is (Z up)",
"inputs": {
"up": "auto",
"face": "top",
"along": null,
"upSupplied": false,
"faceSupplied": true,
"faceSource": "--face top"
},
"face": "top",
"pin1": {
"source": "none (no footprint: assumed pad 1 at the -X / -Y end; pass --footprint)",
"xyMm": null,
"corner": "unknown"
},
"existingMarks": [],
"vendorMarking": {
"present": false,
"glyphFaces": 0,
"faces": []
},
"faceNormal": [
0,
0,
1
],
"longAxis": {
"axis": "x",
"vector": [
1.0,
0.0,
0.0
],
"why": "longest usable top dimension (90.00 mm vs 16.00 mm)",
"source": "longest",
"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": [
-45.0,
-8.0,
45.0,
8.0
],
"zMm": 0.346,
"lengthMm": 90.0,
"heightMm": 16.0,
"why": "highest flat face over the body centre",
"terminationsExcludedBy": null,
"trimmedEnds": [],
"keepouts": [
[
-50.0,
-7.35,
50.0,
-6.65
],
[
-50.0,
-6.35,
50.0,
-5.65
],
[
-50.0,
-5.35,
50.0,
-4.65
],
[
-50.0,
-4.35,
50.0,
-3.65
],
[
-50.0,
-3.35,
50.0,
-2.65
],
[
-50.0,
-2.35,
50.0,
-1.65
],
[
-50.0,
-1.35,
50.0,
-0.65
],
[
-50.0,
-0.35,
50.0,
0.35
],
[
-50.0,
0.65,
50.0,
1.35
],
[
-50.0,
1.65,
50.0,
2.35
],
[
-50.0,
2.65,
50.0,
3.35
],
[
-50.0,
3.65,
50.0,
4.35
],
[
-50.0,
4.65,
50.0,
5.35
],
[
-50.0,
5.65,
50.0,
6.35
],
[
-50.0,
6.65,
50.0,
7.35
]
],
"sideTurn": null,
"margins": {
"lengthEachSide": 0.12,
"heightEachSide": 0.15
}
},
"text": {
"lines": [
"686615100001"
],
"chars": 12,
"capHeightMm": 7.0807,
"smallestLineMm": 7.0807,
"heightPctOfBand": 44.3,
"why": "one line (two lines would give 4.870 mm on the smaller line, not 1.15x larger)",
"alternative": {
"lines": [
"6",
"86615100001"
],
"capHeightMm": 4.8696,
"smallestLineMm": 4.8696
},
"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 686615100001 (stands the STEP up (as-is (Z up)), turns it 180 deg about Z and draws 686615100001 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": 3.51,
"capHeightPx": 20.3
},
"hints": [],
"warnings": [
"no footprint given: the reading direction assumes pin 1 at the negative end of the long axis; pass --footprint <part.kicad_mod>"
],
"summary": "Mark along the 90.00 mm axis (+X), 7.08 mm text, upright with pin 1 unknown, outline rot 180 after a 180 deg pose turn; ~20 px caps at 320 px"
},
"etch": {
"out": "/home/adom/project/hub-motor-robot/comptables/ffc/lib/686615100001/686615100001-etched.step",
"mpn": "686615100001",
"lines": [
"686615100001"
],
"removedOldMarks": [],
"turns": [],
"serviceMarkTurnedQuarter": 0,
"line2Scaled": false,
"fit": {
"scale": 0.8758,
"capMm": 7.2086,
"markMm": [
68.4,
7.2179
],
"bandMm": [
90.0,
16.0
],
"zMm": 0.351
}
}
}