techmannih/courtyard-test
Configures a 10mm by 10mm electronic board with two courtyard rectangles representing physical component outlines on different layers and sizes.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone techmannih/courtyard-test # download the package files into ./courtyard-test
tsci add techmannih/courtyard-test # add it to your project as @tsci/techmannih.courtyard-testIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
dist/index.js
PCB
Schematic
import { jsxs, jsx } from 'react/jsx-runtime';
var index = () => (jsxs("board", { width: "10mm", height: "10mm", children: [jsx("courtyardrect", { width: 2, height: 3 }), jsx("courtyardrect", { width: 4, height: 1, pcbX: 0, layer: "bottom" })] }));
export { index as default };