← Commit history

Bind manufacturer part CAD and add annotated component hero

John Lauer ·aa0a9584da · ·parent 7254f4c
5 files changed +162−13
CC0402KRX7R9BB222-hero.glbadded
⋯ 1 unchanged line ⋯
CC0402KRX7R9BB222-hero.overlay.jsonadded+125
@@ -0,0 +1,125 @@+{+ "spec": "adom-hero 1.4",+ "mpn": "CC0402KRX7R9BB222",+ "kind": "component + footprint reference art",+ "board_use": false,+ "plane_z_mm": -0.02,+ "units": "metre",+ "upAxis": "Z",+ "layers": {+  "pad_outlines": {+   "material": "Footprint pads - teal dashed outlines - 50 percent opacity",+   "rgba": [+    0.0,+    0.902,+    0.863,+    0.5+   ],+   "pads": 2,+   "span_mm": 1.52,+   "dash_mm": 0.12,+   "gap_mm": 0.072,+   "pad_stroke_mm": 0.03+  },+  "silkscreen": {+   "material": "Silkscreen reference lines - 30 percent opacity",+   "rgba": [+    0.92,+    0.96,+    1.0,+    0.3+   ],+   "footprint_items": 2,+   "pin1": null+  },+  "signal_names": {+   "material": "Signal names - 50 percent opacity",+   "rgba": [+    0.92,+    0.96,+    1.0,+    0.5+   ],+   "font": "DejaVu Sans Mono",+   "labels": 2,+   "sides": "top + mirrored underside (single-sided)",+   "omitted": null,+   "fallback_to_pad_number": 2+  }+ },+ "align": {+  "ok": true,+  "centre_offset_mm": 0.0,+  "tolerance_mm": 0.25,+  "orientation_flipped": false,+  "contacts_bbox_mm": [+   -0.5,+   0.5,+   -0.25,+   0.25+  ],+  "pads_bbox_mm": [+   -0.76,+   0.76,+   -0.31,+   0.31+  ],+  "seating_z_mm": -0.0+ },+ "sources": {+  "glb": "CC0402KRX7R9BB222.glb",+  "glb_sha256": "100935c5c0d6f20a6c9bdfb6386f874dc8a4457bf0e4f3ace69f1ab090100773",+  "footprint": "CC0402KRX7R9BB222.kicad_mod",+  "footprint_sha256": "6d9a150802c0e57599a1969c74df1bb50f7cfb73666e0945205228ba1f9b74eb",+  "pins": "page.json component.pins"+ },+ "generator": "factory/hero_glb.py",+ "labels": [+  {+   "pad": "1",+   "text": "1",+   "x": -0.86,+   "y": 0.0,+   "align": "right",+   "vertical": false,+   "h": 0.392+  },+  {+   "pad": "2",+   "text": "2",+   "x": 0.86,+   "y": 0.0,+   "align": "left",+   "vertical": false,+   "h": 0.392+  }+ ],+ "pads": [+  {+   "number": "1",+   "shape": "roundrect",+   "center_mm": [+    -0.48,+    0.0+   ],+   "size_mm": [+    0.56,+    0.62+   ],+   "rot": 0.0+  },+  {+   "number": "2",+   "shape": "roundrect",+   "center_mm": [+    0.48,+    0.0+   ],+   "size_mm": [+    0.56,+    0.62+   ],+   "rot": 0.0+  }+ ]+}\ No newline at end of file
README.md+1−1
@@ -2,7 +2,7 @@  **Yageo** · Multilayer ceramic capacitor · 0402 -2.2 nF 50 V X7R 0402 MLCC. Listed on the group page [adom/2-2n-0402-capacitors](/adom/2-2n-0402-capacitors); this page gives the exact MPN its own symbol, footprint and 3D model so a board's parts library can bind it. Used on the Hub Motor Robot P1 motor driver.+2.2 nF · 50 V · ±10% · X7R · 0402. See the [manufacturer product data](https://www.digikey.de/htmldatasheets/production/2455730/0/0/1/CC-Series-.pdf).  | Parameter | Value | |---|---|
docs/part.pngadded
⋯ 1 unchanged line ⋯
page.json+36−12
@@ -1,7 +1,7 @@ {   "schema_version": 1,   "slug": "cc0402krx7r9bb222",-  "type": "component",+  "type": "hardware",   "title": "CC0402KRX7R9BB222 2.2 nF 50 V X7R 0402 MLCC",   "brief": "Yageo 2.2 nF 50 V X7R 0402 MLCC",   "version": "0.1.0",@@ -9,27 +9,51 @@   "kind": "component",   "component": {     "mpn": "CC0402KRX7R9BB222",-    "manufacturer": "",-    "package": "",-    "pin_count": null,-    "category": "",+    "manufacturer": "Yageo",+    "package": "EIA 0402",+    "pin_count": 2,+    "category": "capacitors",     "subcategory": "",-    "body_size": null,-    "parts": {},+    "body_size": {+      "length_mm": 1,+      "width_mm": 0.5,+      "height_mm": 0.5+    },+    "parts": {+      "symbol": "CC0402KRX7R9BB222.kicad_sym",+      "footprint": "CC0402KRX7R9BB222.kicad_mod",+      "step": "CC0402KRX7R9BB222.step",+      "model_3d": "CC0402KRX7R9BB222-hero.glb",+      "model_3d_plain": "CC0402KRX7R9BB222.glb",+      "model_3d_step_plain": "CC0402KRX7R9BB222.step"+    },     "distributor_links": {       "mouser": "603-CC402KRX7R9BB222"-    }+    },+    "datasheet": "https://www.digikey.de/htmldatasheets/production/2455730/0/0/1/CC-Series-.pdf",+    "pins": [+      {+        "number": "1",+        "name": "1",+        "type": "passive"+      },+      {+        "number": "2",+        "name": "2",+        "type": "passive"+      }+    ]   },   "source": "kicad",   "hero": {     "type": "billboard",     "headline": "CC0402KRX7R9BB222",-    "subhead": "2.2 nF 50 V X7R 0402 MLCC",+    "subhead": "2.2 nF · 50 V · ±10% · X7R · 0402",+    "screenshot": "docs/part.png",     "chrome": false   },   "author": {-    "name": "John Lauer",-    "email": "[email protected]"+    "name": "John Lauer"   },   "tags": [],   "license": "proprietary",@@ -39,4 +63,4 @@   "metadata": {},   "created_at": "2026-10-17T18:10:01.418Z",   "updated_at": "2026-10-17T18:10:01.418Z"-}\ No newline at end of file+}