component
LW A6SG-V2BA-FK0PN0
Public Unreviewedby adonis
ams OSRAM Standard LEDs - SMD, White SIDELED®, side-emitting. Datasheet-verified pinout, KiCad symbol/footprint/3D.
main
adonis
LW A6SG-V2BA-FK0PN0 SIDELED: datasheet-derived symbol, footprint, 3D model, viewers and generators
86e4c6a
1mo ago
import puppeteer from '/home/adom/project/adom_modules/adom/hero-studio/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js';
const CHROME='/home/adom/.cache/puppeteer/chrome/linux-152.0.7977.54/chrome-linux64/chrome';
const [,,src,out]=process.argv;
const b=await puppeteer.launch({executablePath:CHROME,headless:true,
args:['--no-sandbox','--disable-dev-shm-usage','--font-render-hinting=none','--force-color-profile=srgb']});
const p=await b.newPage();
await p.setViewport({width:4000,height:2500,deviceScaleFactor:1});
await p.goto('file://'+src,{waitUntil:'networkidle0'});
try{ await p.evaluate(()=>document.fonts.ready); }catch(e){}
await new Promise(r=>setTimeout(r,600));
console.log('fit:',await p.title());
console.log('fonts:',await p.evaluate(()=>[...document.fonts].filter(f=>f.status==='loaded').map(f=>f.family+' '+f.weight).join(', ')||'none'));
await p.screenshot({path:out,type:'png'});
await b.close();
console.log('OK:',out);