Add BOM output, fix LTspice Tier 2 import, real .asc integration tests

- Fix _try_ltspice_generation() to use spicelib.simulators.ltspice_simulator.LTspice
  instead of the abstract Simulator base class (which always returned unavailable)
- Use LTspice.create_netlist() instead of Simulator.run() for correct netlist generation
- Add --ltspice-exe CLI option to specify LTspice binary path
- Add --bom flag for component BOM CSV output (works on any parse completeness)
- Add --bom-wiring flag for wiring BOM CSV from mapped output
- Add real 1002A.asc demo circuit and pre-generated .net as test fixtures
- Add @pytest.mark.ltspice marker for tests requiring LTspice binary
- Bump version to 2026.2.14
This commit is contained in:
Ryan Malloy 2026-02-13 07:00:39 -07:00
parent 08c92bfefb
commit 5a5337566c
11 changed files with 607 additions and 14 deletions

2
uv.lock generated
View file

@ -994,7 +994,7 @@ wheels = [
[[package]]
name = "spice2wireviz"
version = "2026.2.13"
version = "2026.2.14"
source = { editable = "." }
dependencies = [
{ name = "click" },