master
John Lauer Datasheet-true STEP height (0.45 mm), side MPN mark re-applied; GLBs, hero rebuilt without Z stretch; 0402 pads 0.4 x 0… 2723f33 21d ago
{
 "schema": "adom/led-colour-pass@1",
 "mpn": "IN-S42ATUW",
 "date": "2026-09-30",
 "purpose": "Coloured-lens STEP as the default model the AI retrieves; the originally shipped STEP kept as the optional -uncoloured file; page GLBs and hero rebuilt from the coloured STEP.",
 "colour": {
  "slug": "in-s42atuw",
  "mpn": "IN-S42ATUW",
  "family": "kicad-chip",
  "dominant_wavelength_nm": null,
  "cie_xy": [
   0.295,
   0.3
  ],
  "datasheet": "IN-S42AT series V1.1 p.3, CIE x/y (white, no lambda_D)",
  "spectral_oklab_hue_deg": null,
  "oklch": [
   0.9,
   0.075,
   95.0
  ],
  "srgb": [
   0.9307,
   0.8715,
   0.649
  ],
  "hex": "#EDDEA5",
  "note": "white: pale warm YAG-phosphor yellow, low chroma (emission CIE x/y recorded, not drawn)"
 },
 "colour_method_doc": "tools/led_colour.py docstring (OKLCh, 65 % of gamut-cusp chroma, datasheet typical lambda_d)",
 "step": {
  "coloured": {
   "file": "IN-S42ATUW.step",
   "sha256": "e149ea07e6ab2ac4021bc22323c09353d0edf309653134a2acc961dfe5e58e9a",
   "bytes": 388684,
   "content": "coloured library model (unchanged geometry) + one laser_etch part: a flat virtual MPN mark on the -Y side face"
  },
  "uncoloured": {
   "file": "IN-S42ATUW-uncoloured.step",
   "sha256": "0810790eff4ab0dc71443e6cd2c031c53c90a939253285368c264c9c3553b2e8",
   "bytes": 237485,
   "note": "plain model (library colours, no mark), height-corrected to 0.45 mm; no longer byte-identical to the originally shipped file, which is kept as provenance/IN-S42ATUW-kicad-original.step",
   "matches_published_original": false
  },
  "colouring": {
   "src": "IN-S42ATUW-uncoloured.step",
   "out": "IN-S42ATUW.coloured.step",
   "family": "kicad-chip",
   "faces": 50,
   "faces_by_class": {
    "lens": 5,
    "substrate": 7,
    "terminal": 34,
    "cathode_mark": 4
   },
   "faces_recoloured": 5,
   "colours_srgb": {
    "lens": [
     0.9307,
     0.8715,
     0.649
    ],
    "substrate": [
     0.895,
     0.891,
     0.813
    ],
    "terminal": [
     0.859,
     0.738,
     0.496
    ],
    "cathode_mark": [
     0.34,
     0.68,
     0.445
    ]
   },
   "classification": {
    "z_top_mm": 0.45,
    "z_substrate_top_mm": 0.1665
   },
   "kept_comment_block": true
  },
  "geometry_check": "verify_geom.py: same product name, face count, volume and centroid in both files; only XCAF face colours differ (ColorSurf + ColorGen set on every recoloured face)"
 },
 "page_glbs": {
  "meaning": "<MPN>.glb and <MPN>.insertion.glb are the page's composite LED scenes (FR4 board, pads, silk, solder fillets, the LED, an emissive LED_lit skin, FOV cone and a point light). The README's inline viewer (Colby's viewer + Static / Pick&Place additions) loads <MPN>.insertion.glb and animates the LED being inserted (placed) into its footprint; <MPN>.glb is the older static composite with the earlier silkscreen. Only the LED geometry/colours were replaced; every other node is copied unchanged.",
  "files": {
   "IN-S42ATUW.glb": {
    "sha256": "b79618be1d7a6bacdaecb094bb80dc6c7d2f59f430a8dc1980a140a7801799bd",
    "bytes": 87644,
    "bytes_before": 225212,
    "tris_before": 2558,
    "tris_after": 1145,
    "build": {
     "out": "IN-S42ATUW.glb",
     "bytes": 87644,
     "sha256": "b79618be1d7a6bacdaecb094bb80dc6c7d2f59f430a8dc1980a140a7801799bd",
     "led_node": "IN-S42ATUW",
     "old_led_tris": 1740,
     "new_led_tris": 327,
     "old_mesh_top_m": 0.0005000000237487257,
     "new_mesh_top_m": 0.0004499977179336183,
     "old_node_scale_z": 0.9,
     "new_node_scale_z": 1.0,
     "rendered_height_mm": 0.45,
     "laser_etch": {
      "tris": 127,
      "z_mm": [
       0.2736,
       0.3429
      ]
     },
     "lens_material": {
      "name": "lens_white_phosphor",
      "baseColor_linear": [
       0.8495,
       0.7322,
       0.3788,
       1
      ],
      "replaced": "lens_diffused_white",
      "old_baseColor": [
       0.9,
       0.89,
       0.85,
       1
      ]
     }
    }
   },
   "IN-S42ATUW.insertion.glb": {
    "sha256": "e060198c025d0994e219a2c46de2e9d87d3cd8bbd6b5a891d3676afe04f82f19",
    "bytes": 53800,
    "bytes_before": 248880,
    "tris_before": 2838,
    "tris_after": 1425,
    "build": {
     "out": "IN-S42ATUW.insertion.glb",
     "bytes": 53800,
     "sha256": "e060198c025d0994e219a2c46de2e9d87d3cd8bbd6b5a891d3676afe04f82f19",
     "led_node": "IN-S42ATUW",
     "old_led_tris": 1740,
     "new_led_tris": 327,
     "old_mesh_top_m": 0.0005000000237487257,
     "new_mesh_top_m": 0.0004499977179336183,
     "old_node_scale_z": 0.9,
     "new_node_scale_z": 1.0,
     "rendered_height_mm": 0.45,
     "laser_etch": {
      "tris": 127,
      "z_mm": [
       0.2736,
       0.3429
      ]
     },
     "lens_material": {
      "name": "lens_white_phosphor",
      "baseColor_linear": [
       0.8495,
       0.7322,
       0.3788,
       1
      ],
      "replaced": "lens_diffused_white",
      "old_baseColor": [
       0.9,
       0.89,
       0.85,
       1
      ]
     }
    }
   }
  },
  "animation_fix": "2026-09-30: the pick-and-place insertion animation (sampler keyframe accessors) is carried over unchanged; the earlier rebuilds of this pass had dropped those accessors, leaving the animation pointing at geometry data",
  "z_stretch": "none any more: the STEP is datasheet-true, the LED node Z scale is 1; the LED_lit glow skin sits 2 um above the lens top"
 },
 "hero_glb": {
  "file": "in-s42atuw-hero.glb",
  "sha256": "88ca9fecf9ccf873855cfe5b8882f356e917223b29c364b4ecd6eca7a092943c",
  "bytes": 30588,
  "built_like": "john/eee-fk1v470p hero (component-reference-overlay.py + finalize.py); the side MPN mark is the Adom.LaserEtch.MPN node (finalize.py etch_rgb match)",
  "base": "step2glb convert of IN-S42ATUW.step, no Z scale (the STEP is datasheet-true, 0.45 mm)",
  "footprint": {
   "file": "IN-S42ATUW.kicad_mod",
   "sha256": "af55002720464db6e10b300d49ed6bf8bf030b2083c6546a9995f9aeb528e92b",
   "note": "the page's current footprint, with the cathode silkscreen bracket on pad 1 (K)"
  },
  "overlay_report": {
   "font_file": "JetBrainsMono-Regular.ttf",
   "font_sha256": "c1bfaf2ccf7c56dc25af0cc595c4c6a064a8ebf88930d4543805a9d90692e581",
   "generator_sha256": "aad792e4550350dc175c098711cc77e6574a2b1191191bcf57865fa882580e18",
   "source_glb_sha256": "8f1137e4a4efe3e1972c8deb682d7f6fcfbdac61cf1a08b5d1f892dc8e7f4df3",
   "footprint_sha256": "af55002720464db6e10b300d49ed6bf8bf030b2083c6546a9995f9aeb528e92b",
   "derivative_sha256": "a37916ed265b497e7661b48b6641663220c28cf13751f09d8892942556460699",
   "manufacturer_geometry_buffer_prefix_unchanged": true,
   "units": "metre",
   "upAxis": "Z",
   "plane_z_mm": -0.02,
   "pad_outline": "copper perimeter, not solder mask or paste",
   "dash_mm": 0.07,
   "gap_mm": 0.045,
   "silkscreen_path_count": 3,
   "silkscreen_opacity": 0.3,
   "pad_outline_opacity": 0.5,
   "pad_outline_color": "teal #00E6DC",
   "uninstantiated_reference_placeholder": "omitted from component display",
   "pad_name_opacity": 0.5,
   "pad_label_height_mm": 0.2,
   "pad_names": "signal names resolved through canonical pin-to-pad mapping; active-low overbars preserved",
   "library_sha256": "9de4c4ebb34dfb96e398236c6f73d44c3f4bac3fa944d585afaab283e16eed19",
   "pads": [
    {
     "number": "1",
     "drill_boundary_drawn": false,
     "signal_name": "K",
     "display_name": "K",
     "pad_number_fallback": false,
     "active_low_overbar": false,
     "center_mm": [
      -0.5,
      -0.0
     ],
     "copper_size_mm": [
      0.6,
      0.5
     ],
     "copper_outline_bounds_mm": [
      [
       -0.8,
       -0.25
      ],
      [
       -0.2,
       0.25
      ]
     ],
     "label_position_mm": [
      -1.1893333333333334,
      -0.0
     ]
    },
    {
     "number": "2",
     "drill_boundary_drawn": false,
     "signal_name": "A",
     "display_name": "A",
     "pad_number_fallback": false,
     "active_low_overbar": false,
     "center_mm": [
      0.5,
      -0.0
     ],
     "copper_size_mm": [
      0.6,
      0.5
     ],
     "copper_outline_bounds_mm": [
      [
       0.2,
       -0.25
      ],
      [
       0.8,
       0.25
      ]
     ],
     "label_position_mm": [
      1.1866666666666668,
      -0.0
     ]
    }
   ],
   "overlay_nodes": 3,
   "limitations": [
    "Nonphysical reference lines, not a manufacturing layer or manufacturer STEP geometry.",
    "Silkscreen text follows source text/placement but uses the supplied display font.",
    "Physical body can occlude artwork on the seating plane; inspect underside or hide the body."
   ]
  },
  "finalize_spec": {
   "component_label": "IN-S42ATUW (coloured model)",
   "component_tooltip": "IN-S42ATUW\nWhite LED: lens drawn as the pale yellow phosphor (emission CIE x/y 0.295,0.3)",
   "label_tooltip": "Pad labels (signal names)\nreference art, not part of the component",
   "tooltips": {
    "IN-S42ATUW (STEP body)": "IN-S42ATUW\nWhite LED: lens drawn as the pale yellow phosphor (emission CIE x/y 0.295,0.3)"
   },
   "asset_extras": {
    "adomHero": {
     "mpn": "IN-S42ATUW",
     "kind": "component + footprint reference art",
     "board_use": false
    }
   }
  }
 },
 "hero_png": {
  "file": "screenshots/hero.png",
  "sha256": "e57334210f5805e1b31ab712fc3d5ccb89230866499901ebb596059d2d3874b9",
  "template": "hero-proposals/_tools/hero_template.html (Ray layout, shared with the other basic-part heroes), LED copy tools/hero_template_led.html (optional lens-reflection control only)",
  "render": {
   "glb": "/work/IN-S42ATUW.hero-base.glb",
   "dir": [
    -0.9,
    -1.3,
    1.1
   ],
   "dist": 7.6,
   "title": "White SMD LED 0402",
   "mpn": "IN-S42ATUW",
   "cat": "0402 SMD White LED · 3.1 V drop · 25 mA max",
   "mfr": "Inolux Corporation  •  0402",
   "pill": "ADOM BASIC PART",
   "foot": "Manufacturer datasheet   ·   KiCad library CAD, coloured lens   ·   virtual MPN mark on the side   ·   Adom Wiki",
   "lens": "#EDDEA5",
   "emis": 0.0,
   "lensEnv": 0.25,
   "noToneMap": false,
   "exposure": 0.62
  },
  "before": "../before/in-s42atuw/before-hero.png (outside the page copy)"
 },
 "laser_etch": {
  "date": "2026-09-30",
  "request": "John: MPN laser etch on every component page; on LEDs on the side so it does not ruin the LED window",
  "tool": "adom-aiflow etch_part.py --face side (tools/ in this folder), adom-chip-laser service POST /etch (0.1.0)",
  "text": "IN-S42ATUW",
  "face": "side -Y (seating frame), the lens/body band above the PCB substrate; the top window is clear",
  "side_face_region_mm_in_turned_frame": [
   -0.3500001,
   -0.05850010000000003,
   0.3500001,
   0.2250001
  ],
  "frac": 0.55,
  "font_mm": 0.092,
  "mark_rgb_linear": [
   0.012,
   0.012,
   0.012
  ],
  "mark_colour_reason": "auto: dark on the lens colour by contrast ratio",
  "fits": [
   {
    "frac": 0.55,
    "fontMm": 0.092,
    "mark_mm": [
     0.5429,
     0.0693
    ],
    "region_mm": [
     0.7,
     0.2835
    ],
    "scale_to_fill": 1.0315,
    "moved_mm": [
     -0.0045,
     0.0816
    ],
    "mark_region": [
     -0.2714,
     0.0486,
     0.2714,
     0.1179
    ]
   }
  ],
  "checks": [
   "mark bbox inside the side face band (asserted by etch_part.py)",
   "seated on the real surface under the text (seat_mark.py, 5 um lift)",
   "original model frame kept (bbox unchanged); the uncoloured STEP untouched"
  ],
  "in_glbs": "separate node Adom.LaserEtch.MPN, child of the LED node with the inverse Z scale, so glyph height is true while the body is scaled to the datasheet height",
  "limitations": [
   "virtual identification mark; the real part is unmarked"
  ]
 },
 "height": {
  "date": "2026-09-30",
  "datasheet": "IN-S42AT series V1.1 p.1, Figure 2 package dimensions: 0.45 mm overall height (0.2 mm PCB base); features list \"0402 0.45mm\"",
  "step_height_before_mm": 0.5,
  "step_height_after_mm": 0.45,
  "z_scale": 0.9,
  "method": "xcaf_scale_axis.py: the originally shipped KiCad model scaled in Z only about the seating plane (BRepBuilderAPI_GTransform per shape through XCAF; names, part and face colours kept), then coloured and side-etched again so the glyphs are not stretched",
  "kicad_original": {
   "file": "provenance/IN-S42ATUW-kicad-original.step",
   "sha256": "401a17c0a337a26edbde24f58dabfc1560d6cb1bfb8c8fc5c31b8692e321eb12",
   "note": "the file this page shipped before the colour pass, byte for byte"
  }
 }
}