Skip to content

feat: add spice export format#2845

Closed
64johnlee wants to merge 7 commits into
tscircuit:mainfrom
64johnlee:feat/add-spice-export
Closed

feat: add spice export format#2845
64johnlee wants to merge 7 commits into
tscircuit:mainfrom
64johnlee:feat/add-spice-export

Conversation

@64johnlee
Copy link
Copy Markdown

Summary

Add spice export format using circuitJsonToSpice.

Changes

  • Added circuitJsonToSpice import
  • Added spice to ALLOWED_EXPORT_FORMATS
  • Added spice: ".spice" to OUTPUT_EXTENSIONS
  • Added case handler

Usage

tsci export MyCircuit.tsx -f spice
# Outputs: MyCircuit.spice

Testing

  • Build succeeds

64johnlee added 7 commits April 28, 2026 11:40
Add pnp-csv export format to ALLOWED_EXPORT_FORMATS, using the
already-imported convertCircuitJsonToPickAndPlaceCsv function.

Usage: tsci export MyCircuit.tsx -f pnp-csv
Outputs: MyCircuit-pnp.csv

Closes tscircuit#2806
Implement tsci check routing [file] to:
- Accept an optional file path (uses project entrypoint if omitted)
- Run the autorouter on the circuit
- Report routing DRC errors and warnings
- Exit with code 1 if routing errors are found

This is consistent with tsci check placement and tsci check netlist.

Closes tscircuit#2808
Add bom-csv export format to ALLOWED_EXPORT_FORMATS, using the
already-imported convertCircuitJsonToBomRows and convertBomRowsToCsv.

Usage: tsci export MyCircuit.tsx -f bom-csv
Outputs: MyCircuit-bom.csv

Closes tscircuit#1950
Add spice export format using circuitJsonToSpice.

Usage: tsci export MyCircuit.tsx -f spice
Outputs: MyCircuit.spice
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2026

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions Bot closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant