← Commit history

Add aligned component hero and publish reviewed CAD bindings

John Lauer ·a63a7e4c26 · ·parent 5d07c78
3 files changed +127−3
page.json+2−3
@@ -24,7 +24,7 @@     "parts": {       "symbol": "rc0402fr-0749r9l.kicad_sym",       "footprint": "rc0402fr-0749r9l.kicad_mod",-      "model_3d": "rc0402fr-0749r9l.glb",+      "model_3d": "rc0402fr-0749r9l-hero.glb",       "model_3d_plain": "rc0402fr-0749r9l.glb",       "model_3d_step": "rc0402fr-0749r9l.step",       "step": "rc0402fr-0749r9l.step",@@ -44,8 +44,7 @@     "subhead": "Thick Film Resistors - SMD General Purpose Chip Resistor 0402, 49.9Ohms, 1%, 1/16W"   },   "author": {-    "name": "John Lauer",-    "email": "[email protected]"+    "name": "John Lauer"   },   "tags": [],   "license": "CC-BY-SA-4.0",
rc0402fr-0749r9l-hero.glbadded
⋯ 1 unchanged line ⋯
rc0402fr-0749r9l-hero.overlay.jsonadded+125
@@ -0,0 +1,125 @@+{+ "spec": "adom-hero 1.4",+ "mpn": "RC0402FR-0749R9L",+ "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.56,+   "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.78,+   0.78,+   -0.32,+   0.32+  ],+  "seating_z_mm": -0.0+ },+ "sources": {+  "glb": "rc0402fr-0749r9l.glb",+  "glb_sha256": "e0f0a1b3f86b307421456f2e9945d22b4d3e222a7ec62e602fc97c5e6a7f34c3",+  "footprint": "rc0402fr-0749r9l.kicad_mod",+  "footprint_sha256": "0d59600c70bcb209486301e401d907059c5d3b96c14b4a40b1cbb0c2a36de6a7",+  "pins": "page.json component.pins"+ },+ "generator": "factory/hero_glb.py",+ "labels": [+  {+   "pad": "1",+   "text": "1",+   "x": -0.88,+   "y": 0.0,+   "align": "right",+   "vertical": false,+   "h": 0.378+  },+  {+   "pad": "2",+   "text": "2",+   "x": 0.88,+   "y": 0.0,+   "align": "left",+   "vertical": false,+   "h": 0.378+  }+ ],+ "pads": [+  {+   "number": "1",+   "shape": "roundrect",+   "center_mm": [+    -0.51,+    0.0+   ],+   "size_mm": [+    0.54,+    0.64+   ],+   "rot": 0.0+  },+  {+   "number": "2",+   "shape": "roundrect",+   "center_mm": [+    0.51,+    0.0+   ],+   "size_mm": [+    0.54,+    0.64+   ],+   "rot": 0.0+  }+ ]+}\ No newline at end of file