main
John Lauer Clear maximum TO-220 lead shoulder with explicit 6.5 mm straight-lead standoff df6fa82 9d ago
"""Apply the documented 6.5 mm straight-lead standoff once to the clean GLB.
No catalog hero artwork is included in the board-use model.
"""
from pathlib import Path
from pygltflib import GLTF2,Node
p=Path(__file__).parent
g=GLTF2().load(str(p/'ixtp15n50l2-ai-etched.glb'))
roots=list(g.scenes[g.scene or 0].nodes)
g.nodes.append(Node(name='IXTP15N50L2_BodyStandoff_6p5mm',children=roots,translation=[0,0,.0065]))
g.scenes[g.scene or 0].nodes=[len(g.nodes)-1]
g.save_binary(str(p/'ixtp15n50l2-board-use.glb'))