← Commit history

Preserve the existing 3d.glb selection during source reindexing

AdityaAngajala ·8a87e031fa ·5d ago ·parent 5c39fd3
1 file changed +1−1
page.json+1−1
@@ -30,7 +30,7 @@     "category": "molecule",     "subcategory": "",     "body_size": null,-    "parts": {},+    "parts": {"model_3d": "3d.glb"},     "distributor_links": {}   },   "readme": "# Oliver's LED Nameplate\n\nA USB-C powered desk nameplate that spells **OLIVER** in 57 white 0603 LEDs.\nPlug in any phone charger and the name lights up.\n\nBuilt with tscircuit on a 4-pin Adom molecule, previewed with `adom-tsci`,\nthen round-tripped through **KiCad 10** (`.kicad_pcb`) and **Fusion 360** (STEP)\nto confirm the geometry survives the trip.\n\n## Specs\n\n| | |\n|---|---|\n| Board | 178 x 58 mm, 2-layer, `roundEdges={false}` |\n| Molecule | `type=\"4pin\"`, `pinType=\"MachinePinLargeStandard\"` |\n| LEDs | 57 white 0603 (O=12, L=7, I=9, V=9, E=10, R=10) |\n| Font | 3x5 pixel dot-matrix, 6 mm pitch, 8 mm letter gap |\n| Current limiting | 57 x 330 ohm 0603, one per LED (~5.5 mA each) |\n| Power in | USB-C TYPE-C-31-M-12 (JLCPCB C165948), east edge |\n| CC pulldowns | 2 x 5.1k on CC1/CC2 |\n| Bypass | 100 nF 0603 on VBUS |\n| Total draw | ~310 mA @ 5 V |\n\n## Verified\n\n- **185 / 187 traces routed.** KiCad 10 reports `Unrouted 0` — 951 track\n  segments, 55 vias, 61 nets, 264 pads.\n- **USB-C geometry lint passes**: `body_fwd = 5.34 mm`, mouth exits the board\n  edge at x = 89.2 mm, so a cable actually seats.\n\n## Two gotchas worth stealing\n\n**1. USB-C pin labels must be unique.** The wrapper this was forked from labelled\ntwo different pins `GND1` (pin1 + pin15) and two `VBUS1` (pin3 + pin13).\ntscircuit merges same-labelled ports into one `pcb_port`, so their pads land on\ntop of each other:\n\n```\npcb_pad_pad_clearance_error: Pads J1>GND1 and J1>GND2 too close (0mm, min 0.1mm)\npcb_autorouting_error: Autorouting was skipped because 4 PCB placement errors were found\n```\n\nThe board then silently ships **completely unrouted**. Fix: unique labels\n(`GND_A1`, `GND_B12`, `GND_A12`, `GND_B1`, `VBUS_A4`, `VBUS_B9`, `VBUS_A9`,\n`VBUS_B4`) tied together with traces.\n\n**2. Never trace a USB-C pin by number.** `<trace from=\"J1.pin3\" .../>` makes\n`tsci build` hang forever with no output and no CPU (it blocks, it doesn't spin).\nAlways trace by label: `<trace from=\"J1.VBUS_A4\" .../>`.\n\nAlso: a receptacle wrapper MUST forward `schX`/`schY`/`schRotation` to its inner\n`<chip>`, or it silently piles at the schematic origin.\n\n## Known limitation\n\n`MP1..MP4` — the Molecule library's internally-emitted machine pins — still\noverlap at the schematic origin. They can't be placed from board source; the rest\nof the layout is lifted clear to compensate.\n",