app
Adom Library
Public Made by Adomby adom
adom-lbr — the EDA library translator. Bring a component in from any supported EDA tool and convert it to any other (KiCad ⇄ Altium ⇄ EAGLE/Fusion) through one canonical adom-lbr JSON — symbol + footp
//! altium-schlib-svg <file.SchLib> — print the native symbol SVG to stdout.
fn main() -> anyhow::Result<()> {
let path = std::env::args().nth(1).ok_or_else(|| anyhow::anyhow!("usage: altium-schlib-svg <file.SchLib>"))?;
let sym = altium_schlib::parse_altium_schlib_path(std::path::Path::new(&path))?;
print!("{}", altium_schlib::render_symbol_svg(&sym));
Ok(())
}