tscircuit/autorouting-dataset-01

This code manages the hardware and electronic components for circuit design and PCB layout, defining components like resistors, capacitors, transistors, connectors, and footprints, and providing tools for component placement, PCB topology, and electrical connections.

Version
1.0.102
License
unset
Stars
4

scripts/README.md

- scripts/create-dataset/index.tsx
Main script to generate a dataset from the circuits defined in lib/circuit. It iterates through all circuit files in `lib/circuit/`, renders them, and saves the resulting tscircuit JSON to the `lib/dataset/` directory.

- scripts/generate-docs/index.ts
Script to automatically generate README.md files for specified directories. It parses the files in each directory and updates the corresponding README.md with information about the exported components or functions. Usage: bun scripts/genratedocs.ts [--dirs=lib:-1,scripts:1]

- scripts/random-circuits/index.ts
Script to generate a dataset of random circuits. Its slides the components on the board and creates random connections between them. It uses the default configuration to generate a set of random circuits.