by adom
0402 SMD Red LED · 2.1 V drop · 25 mA max
master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
{
"schema": "adom/led-colour-pass@1",
"mpn": "IN-S42ATR",
"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-s42atr",
"mpn": "IN-S42ATR",
"family": "template",
"dominant_wavelength_nm": 631,
"cie_xy": null,
"datasheet": "IN-S42AT series V1.1 p.3, lambda_D typ",
"spectral_oklab_hue_deg": 19.4,
"oklch": [
0.56,
0.1674,
29.2
],
"srgb": [
0.7657,
0.2589,
0.2074
],
"hex": "#C34235",
"note": "red: lambda_d 631 nm is beyond the sRGB red primary; hue = red primary 29.2 deg (lambda_d-exact edge colour would be 19.4 deg, rose)"
},
"colour_method_doc": "tools/led_colour.py docstring (OKLCh, 65 % of gamut-cusp chroma, datasheet typical lambda_d)",
"step": {
"coloured": {
"file": "IN-S42ATR.step",
"sha256": "92f769b6a07867213083f3a80624808c041b16d73ab8aa0a6d73074d31b48240",
"bytes": 376273,
"content": "coloured library model (unchanged geometry) + one laser_etch part: a flat virtual MPN mark on the -Y side face"
},
"uncoloured": {
"file": "IN-S42ATR-uncoloured.step",
"sha256": "034bb8b142b1989f5719c1d39dde9b14c36187f6e4b76fdd7f1a8318acb4e257",
"bytes": 214421,
"note": "byte-identical to the STEP the page shipped before this pass (renamed only)",
"matches_published_original": true
},
"colouring": {
"src": "IN-S42ATR-uncoloured.step",
"out": "IN-S42ATR.step",
"family": "template",
"faces": 50,
"faces_by_class": {
"lens": 5,
"substrate": 7,
"terminal": 34,
"cathode_mark": 4
},
"faces_recoloured": 50,
"colours_srgb": {
"lens": [
0.7657,
0.2589,
0.2074
],
"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.5,
"z_substrate_top_mm": 0.185,
"template": "IN-S42ATA-uncoloured.step",
"z_scale_vs_template": 0.9
},
"kept_comment_block": false
},
"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-S42ATR.glb": {
"sha256": "751099306f7a8c3a240c38724403c85619cc60f6e012fc8c60d26b41a7aa24e3",
"bytes": 87316,
"bytes_before": 263160,
"tris_before": 3010,
"tris_after": 1137,
"build": {
"out": "IN-S42ATR.glb",
"bytes": 86988,
"sha256": "e57447c2233541f295b28d898fdc8f449f3101177404a4f0c40c14ba33944935",
"led_node": "IN-S42ATR",
"old_led_tris": 2192,
"new_led_tris": 319,
"old_mesh_top_m": 0.0005000000237487257,
"new_mesh_top_m": 0.0004499977179336183,
"old_node_scale_z": 0.9,
"new_node_scale_z": 1.000005118782036,
"rendered_height_mm": 0.45,
"laser_etch": {
"tris": 119,
"z_mm": [
0.2698,
0.3467
]
},
"lens_material": {
"name": "lens_red",
"baseColor_linear": [
0.5473,
0.0545,
0.0355,
1
],
"replaced": "lens_red",
"old_baseColor": [
0.4,
0.02,
0.02,
1
]
}
}
},
"IN-S42ATR.insertion.glb": {
"sha256": "ffcfc283c6734bb557b8981c3e3a62895a1715371eb9e04f324d5fed69c060c9",
"bytes": 87184,
"bytes_before": 264668,
"tris_before": 3034,
"tris_after": 1161,
"build": {
"out": "IN-S42ATR.insertion.glb",
"bytes": 86856,
"sha256": "4246d76c3415306fe4296d7487493cb81deff74174e8c5bb8f1ecd40babf112c",
"led_node": "IN-S42ATR",
"old_led_tris": 2192,
"new_led_tris": 319,
"old_mesh_top_m": 0.0005000000237487257,
"new_mesh_top_m": 0.0004499977179336183,
"old_node_scale_z": 0.9,
"new_node_scale_z": 1.000005118782036,
"rendered_height_mm": 0.45,
"laser_etch": {
"tris": 119,
"z_mm": [
0.2698,
0.3467
]
},
"lens_material": {
"name": "lens_red",
"baseColor_linear": [
0.5473,
0.0545,
0.0355,
1
],
"replaced": "lens_red",
"old_baseColor": [
0.4,
0.02,
0.02,
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"
},
"hero_glb": {
"file": "in-s42atr-hero.glb",
"sha256": "859fc7e1a7339aac2264de3fd4cc899f3694baafd65ff1818685aa5001deabae",
"bytes": 30220,
"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-S42ATR.step, wrapped in one root node IN-S42ATR with Z scale 1.0 (package height 0.45 mm, the same factor the page composites apply to this KiCad model); materials given a PBR finish (lens roughness 0.35 + clear coat)",
"footprint": {
"file": "IN-S42ATR.kicad_mod",
"sha256": "51a0d8cfca22087f827757f4413e5de9f103d7ff15bc0eb9d11e39f7b006e4a4",
"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": "c0443a97206bea7fc044b3e0399e8db132e421014f6f970208d100fecb59ebd1",
"footprint_sha256": "51a0d8cfca22087f827757f4413e5de9f103d7ff15bc0eb9d11e39f7b006e4a4",
"derivative_sha256": "3709640b7bcf862c224239e9b708fab2d1ccbe5d6d8e58a56243e727300418b1",
"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": "ef4ed1f5124dff0c21bb8d7928b183ed73dcfd94637cfe8443fb8fe91bb6e1a9",
"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.4,
0.6
],
"copper_outline_bounds_mm": [
[
-0.7,
-0.3
],
[
-0.3,
0.3
]
],
"label_position_mm": [
-1.0893333333333333,
-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.4,
0.6
],
"copper_outline_bounds_mm": [
[
0.3,
-0.3
],
[
0.7,
0.3
]
],
"label_position_mm": [
1.0866666666666667,
-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-S42ATR (coloured model)",
"component_tooltip": "IN-S42ATR\nRed lens colour (dominant wavelength 631 nm); the real lens is clear",
"label_tooltip": "Pad labels (signal names)\nreference art, not part of the component",
"tooltips": {
"IN-S42ATR (STEP body)": "IN-S42ATR\nRed lens colour (dominant wavelength 631 nm); the real lens is clear"
},
"asset_extras": {
"adomHero": {
"mpn": "IN-S42ATR",
"kind": "component + footprint reference art",
"board_use": false
}
}
}
},
"hero_png": {
"file": "screenshots/hero.png",
"sha256": "0fbf96ab74ce1ab71ff5074be68fe1aac62979d85cbc14906b4cd60b78691971",
"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-S42ATR.hero-base.glb",
"dir": [
-0.9,
-1.3,
1.1
],
"dist": 7.6,
"title": "Red SMD LED 0402",
"mpn": "IN-S42ATR",
"cat": "0402 SMD Red LED · 2.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": "#C34235",
"emis": 0.0,
"lensEnv": 0.25,
"noToneMap": false,
"exposure": 0.62
},
"before": "../before/in-s42atr/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-S42ATR",
"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.102,
"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.102,
"mark_mm": [
0.5419,
0.077
],
"region_mm": [
0.7,
0.2835
],
"scale_to_fill": 1.0334,
"moved_mm": [
-0.005,
0.0814
],
"mark_region": [
-0.2709,
0.0447,
0.2709,
0.1218
]
}
],
"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"
]
}
}