MustafaMulla29/test-pcm
A tscircuit package created by MustafaMulla29.
Usage: To use this component in a project: 1. Import the component: ```tsx import { MyBoard } from "@tsci/MustafaMulla29.test-pcm" ``` 2. Use the component in your circuit design: ```tsx export default () => ( <board> <MyBoard /> </board> ) ``` The component adds a chip with a CAD model from a STEP file, using a pinrow1 footprint.
- Version
- 1.0.2
- License
- unset
- Stars
- 0
dist/index.cjs
PCB
Schematic
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var modelUrl = require('././assets/MachineContactMedium-d3cace14.step');
const MyBoard = () => (jsxRuntime.jsx("board", { width: "10mm", height: "10mm", children: jsxRuntime.jsx("chip", { name: "U1", footprint: "pinrow1", cadModel: jsxRuntime.jsx("cadassembly", { children: jsxRuntime.jsx("cadmodel", { modelUrl: modelUrl }) }) }) }));
exports.MyBoard = MyBoard;