feat: add spice export format#2845
Closed
64johnlee wants to merge 7 commits into
Closed
Conversation
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
Contributor
|
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
Contributor
|
This PR was closed because it has been inactive for 1 day since being marked as stale. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
spiceexport format usingcircuitJsonToSpice.Changes
circuitJsonToSpiceimportspicetoALLOWED_EXPORT_FORMATSspice: ".spice"toOUTPUT_EXTENSIONSUsage
Testing