- Use a temp directory (not file) for kicad-cli svg output, which expects a directory path - Clean up temp dir with shutil.rmtree instead of individual file unlinks - Fix viewBox cropping: KiCad schematic SVGs use mm directly, not mils (removed erroneous 39.3701 multiplier) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>