MustafaMulla29/MC-MP-symbols

This code defines a 10mm x 10mm schematic diagram featuring two integrated circuit components ("MC" and "MP") with their respective physical symbols, including outer rings, lobed shapes, connection lines, and ports.

Usage: To use this package, import the components from "@tsci/MustafaMulla29.MC-MP-symbols": ```tsx import { MC, MP } from "@tsci/MustafaMulla29.MC-MP-symbols" export default () => ( <board> <MC name="U1" /> <MP name="U2" schX={3} /> </board> ) ``` The package provides two components: - `MC`: A circuit symbol with a shaft port - `MP`: A circuit symbol with a signal port You can place these components on a board and customize their positioning using standard tscircuit props.

Version
0.0.1
License
unset
Stars
0

dist/schematic.svg

PCBPCB preview for dist/schematic.svg
SchematicSchematic preview for dist/schematic.svg
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" style="background-color: rgb(245, 241, 237)" data-real-to-screen-transform="matrix(188.679245283,0,0,-188.679245283,179.2452830189,300)" data-software-used-string="@tscircuit/core@0.0.973"><style>
              .boundary { fill: rgb(245, 241, 237); }
              .schematic-boundary { fill: none; stroke: #fff; }
              .component { fill: none; stroke: rgb(132, 0, 0); }
              .chip { fill: rgb(255, 255, 194); stroke: rgb(132, 0, 0); }
              .component-pin { fill: none; stroke: rgb(132, 0, 0); }
              /* Basic per-trace hover fallback */
              .trace:hover {
                filter: invert(1);
              }
              .trace:hover .trace-crossing-outline {
                opacity: 0;
              }
              .trace:hover .trace-junction {
                filter: invert(1);
              }
              /* Net-hover highlighting: when a trace or its overlays are hovered,
                 invert color for all traces (base + overlays) sharing the same
                 subcircuit connectivity key. Also hide crossing outline during hover. */
              
              .text { font-family: sans-serif; fill: rgb(0, 150, 0); }
              .pin-number { fill: rgb(169, 0, 0); }
              .port-label { fill: rgb(0, 100, 100); }
              .component-name { fill: rgb(0, 100, 100); }
            </style><rect class="boundary" x="0" y="0" width="1200" height="600"/><line x1="264.15094339625" y1="300" x2="367.9245283019" y2="300" stroke="rgba(132, 0, 0)" stroke-width="3.77358490566" data-schematic-line-id="schematic_line_0" data-schematic-component-id="schematic_component_0"/><line x1="1024.52830188674" y1="300" x2="1094.33962264145" y2="300" stroke="rgba(132, 0, 0)" stroke-width="3.77358490566" data-schematic-line-id="schematic_line_1" data-schematic-component-id="schematic_component_1"/><circle cx="179.2452830189" cy="300" r="84.90566037735" fill="none" stroke="rgba(132, 0, 0)" stroke-width="3.77358490566" data-schematic-circle-id="schematic_circle_0" data-schematic-component-id="schematic_component_0"/><circle cx="367.9245283019" cy="300" r="11.32075471698" fill="none" stroke="rgba(132, 0, 0)" stroke-width="3.77358490566" data-schematic-circle-id="schematic_circle_1" data-schematic-component-id="schematic_component_0"/><circle cx="1094.33962264145" cy="300" r="11.32075471698" fill="none" stroke="rgba(132, 0, 0)" stroke-width="3.77358490566" data-schematic-circle-id="schematic_circle_2" data-schematic-component-id="schematic_component_1"/><path d="M 171.69811320758 272.641509433965 L 164.15094339626 239.62264150944 L 165.29993158476879 237.3121000310095 L 168.57197311419847 235.35331754755939 L 173.46892932282375 234.04450093578748 L 179.2452830189 233.584905660384 L 185.02163671497627 234.04450093578748 L 189.91859292360155 235.35331754755939 L 193.19063445303124 237.3121000310095 L 194.33962264154002 239.62264150944 L 186.79245283022001 272.641509433965 L 191.34563397772052 275.462915561844 L 193.9449892849909 276.9260830862535 L 196.36960442770746 278.6635377267063 L 198.59065722117154 280.65462579772844 L 200.5817452921937 282.8756785911925 L 202.31919993264646 285.30029373390914 L 203.782367457056 287.8996490411795 L 204.953854719644 290.6428451354308 L 206.603773584935 292.45283018868 L 239.62264150946 284.90566037736 L 241.93318298789052 286.0546485658688 L 243.89196547134063 289.3266900952985 L 245.20078208311253 294.2236463039238 L 245.660377358516 300 L 245.20078208311253 305.7763536960762 L 243.89196547134063 310.6733099047015 L 241.93318298789052 313.9453514341312 L 239.62264150946 315.09433962264 L 206.603773584935 307.54716981132 L 203.782367457056 312.1003509588205 L 202.31919993264646 314.69970626609086 L 200.5817452921937 317.1243214088074 L 198.59065722117154 319.34537420227156 L 196.36960442770746 321.3364622732937 L 193.9449892849909 323.0739169137465 L 191.34563397772052 324.537084438156 L 188.60243788346926 325.70857170074396 L 186.79245283022001 327.358490566035 L 194.33962264154002 360.37735849056 L 193.19063445303124 362.6878999689905 L 189.91859292360155 364.6466824524406 L 185.02163671497627 365.9554990642125 L 179.2452830189 366.41509433961596 L 173.46892932282375 365.9554990642125 L 168.57197311419847 364.6466824524406 L 165.29993158476879 362.6878999689905 L 164.15094339626 360.37735849056 L 171.69811320758 327.358490566035 L 167.1449320600795 324.537084438156 L 164.54557675280913 323.0739169137465 L 162.12096161009256 321.3364622732937 L 159.89990881662848 319.34537420227156 L 157.90882074560633 317.1243214088075 L 156.17136610515357 314.6997062660909 L 154.708198580744 312.1003509588205 L 153.53671131815602 309.3571548645692 L 151.88679245286502 307.54716981132 L 118.86792452834001 315.09433962264 L 116.5573830499095 313.9453514341312 L 114.5986005664594 310.6733099047015 L 113.28978395468751 305.7763536960762 L 112.83018867928402 300 L 113.28978395468751 294.2236463039238 L 114.5986005664594 289.3266900952985 L 116.5573830499095 286.0546485658688 L 118.86792452834001 284.90566037736 L 151.88679245286502 292.45283018868 L 154.708198580744 287.8996490411795 L 156.17136610515357 285.3002937339091 L 157.90882074560633 282.8756785911925 L 159.89990881662848 280.65462579772844 L 162.12096161009256 278.6635377267063 L 164.54557675280913 276.9260830862535 L 167.1449320600795 275.462915561844 L 169.88812815433076 274.29142829925604" stroke="rgb(132, 0, 0)" stroke-width="3.77358490566" fill="none" stroke-linecap="round" stroke-linejoin="round" data-schematic-component-id="schematic_component_0"/><path d="M 839.6226415094 309.43396226415 L 830.1886792452501 309.43396226415 L 827.7469901405095 309.112507795179 L 825.4716981131751 308.17005097909765 L 823.5178605548115 306.67081869043847 L 822.0186282661523 304.716981132075 L 821.0761714500711 302.44168910474053 L 820.7547169811 300 L 821.0761714500711 297.55831089525947 L 822.0186282661523 295.283018867925 L 823.5178605548115 293.32918130956153 L 825.4716981131751 291.82994902090235 L 827.7469901405095 290.887492204821 L 830.1886792452501 290.56603773585 L 877.358490566 290.56603773585 L 877.358490566 284.90566037736 L 943.39622641505 284.90566037736 L 943.39622641505 277.35849056604 L 947.1698113207101 277.35849056604 L 947.1698113207101 283.01886792453 L 1003.77358490561 283.01886792453 L 1003.77358490561 277.35849056604 L 1026.41509433957 277.35849056604 L 1026.41509433957 322.64150943396 L 1003.77358490561 322.64150943396 L 1003.77358490561 316.98113207547 L 947.1698113207101 316.98113207547 L 947.1698113207101 322.64150943396 L 943.39622641505 322.64150943396 L 943.39622641505 315.09433962264 L 877.358490566 315.09433962264 L 877.358490566 309.43396226415 L 839.6226415094 309.43396226415" stroke="rgb(132, 0, 0)" stroke-width="3.77358490566" fill="none" stroke-linecap="round" stroke-linejoin="round" data-schematic-component-id="schematic_component_1"/><g class="schematic-port-hover" data-schematic-port-id="source_port_0"><circle cx="383.01886792454" cy="300" r="7.54716981132" fill="red" opacity="0"/></g><g class="schematic-port-hover" data-schematic-port-id="source_port_1"><circle cx="364.15094339624" cy="300" r="7.54716981132" fill="red" opacity="0"/></g></svg>