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.cjs
PCB
Schematic
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var index = () => (jsxRuntime.jsxs("board", { width: "10mm", height: "10mm", children: [jsxRuntime.jsx("courtyardrect", { width: 2, height: 3 }), jsxRuntime.jsx("courtyardrect", { width: 4, height: 1, pcbX: 0, layer: "bottom" })] }));
module.exports = index;