@tscircuit/copper-pour-solver 0.0.30 → 0.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/copper-pour-solver",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.30",
4
+ "version": "0.0.31",
5
5
  "scripts": {
6
6
  "format": "biome format . --write",
7
7
  "format:check": "biome format .",
@@ -16,8 +16,8 @@
16
16
  "circuit-json-to-connectivity-map": "^0.0.23",
17
17
  "@types/bun": "latest",
18
18
  "bun-match-svg": "^0.0.13",
19
- "circuit-json": "^0.0.306",
20
- "circuit-to-svg": "^0.0.262",
19
+ "circuit-json": "^0.0.432",
20
+ "circuit-to-svg": "^0.0.350",
21
21
  "react-cosmos": "^7.0.0",
22
22
  "react-cosmos-plugin-vite": "^7.0.0",
23
23
  "tscircuit": "^0.0.1209",
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" data-software-used-string="@tscircuit/core@0.0.844"><style></style><rect class="boundary" x="0" y="0" fill="#000" width="800" height="600" data-type="pcb_background" data-pcb-layer="global"/><rect class="pcb-boundary" fill="none" stroke="#fff" stroke-width="0.3" x="127.27272727272725" y="27.272727272727252" width="545.4545454545455" height="545.4545454545455" data-type="pcb_boundary" data-pcb-layer="global"/><rect class="pcb-pad" fill="rgb(77, 127, 196)" x="547.2727272727273" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="bottom"/><rect class="pcb-pad" fill="rgb(77, 127, 196)" x="497.5" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="bottom"/><path class="pcb-copper-pour pcb-copper-pour-brep" d="M 672.7272727272727 572.7272727272727 L 127.27272727272725 572.7272727272727 L 127.27272727272725 27.272727272727252 L 672.7272727272727 27.272727272727252 L 672.7272727272727 572.7272727272727 Z M 400 343.6363636363636 L 408.5130454545455 342.79789090909094 L 416.6989 340.31473636363637 L 424.2430545454545 336.2823 L 430.8555727272727 330.8555727272727 L 436.2823 324.2430545454545 L 440.31473636363637 316.6989 L 442.79789090909094 308.5130454545455 L 443.6363636363636 300 L 442.79789090909094 291.4869545454545 L 440.31473636363637 283.3011 L 436.2823 275.7569454545455 L 430.8555727272727 269.1444272727273 L 424.2430545454545 263.7177 L 416.6989 259.68526363636363 L 408.5130454545455 257.20210909090906 L 400 256.3636363636364 L 391.4869545454545 257.20210909090906 L 383.3011 259.68526363636363 L 375.7569454545455 263.7177 L 369.1444272727273 269.1444272727273 L 363.7177 275.7569454545455 L 359.68526363636363 283.3011 L 357.20210909090906 291.4869545454545 L 356.3636363636364 300 L 357.20210909090906 308.5130454545455 L 359.68526363636363 316.6989 L 363.7177 324.2430545454545 L 369.1444272727273 330.8555727272727 L 375.7569454545455 336.2823 L 383.3011 340.31473636363637 L 391.4869545454545 342.79789090909094 L 400 343.6363636363636 Z M 536.3636363636364 330 L 586.1363636363636 330 L 586.1363636363636 270 L 536.3636363636364 270 L 536.3636363636364 330 Z M 400 436.3636363636364 L 405.32063636363637 435.83959090909093 L 410.4368090909091 434.28763636363635 L 415.1519090909091 431.76736363636365 L 419.28473636363634 428.37564545454546 L 422.67645454545453 424.24281818181817 L 425.1967272727273 419.52771818181816 L 426.7486818181818 414.4115454545455 L 427.27272727272725 409.0909090909091 L 426.7486818181818 403.77027272727275 L 425.1967272727273 398.65409999999997 L 422.67645454545453 393.939 L 419.28473636363634 389.8061727272727 L 415.1519090909091 386.41445454545453 L 410.4368090909091 383.89418181818183 L 405.32063636363637 382.34222727272726 L 400 381.8181818181818 L 394.67936363636363 382.34222727272726 L 389.5631909090909 383.89418181818183 L 384.8480909090909 386.41445454545453 L 380.71526363636366 389.8061727272727 L 377.32354545454547 393.939 L 374.8032727272727 398.65409999999997 L 373.2513181818182 403.77027272727275 L 372.72727272727275 409.0909090909091 L 373.2513181818182 414.4115454545455 L 374.8032727272727 419.52771818181816 L 377.32354545454547 424.24281818181817 L 380.71526363636366 428.37564545454546 L 384.8480909090909 431.76736363636365 L 389.5631909090909 434.28763636363635 L 394.67936363636363 435.83959090909093 L 400 436.3636363636364 Z" fill="rgb(77, 127, 196)" fill-rule="evenodd" fill-opacity="0.5" data-type="pcb_copper_pour" data-pcb-layer="bottom"/><path class="pcb-silkscreen pcb-silkscreen-bottom" d="M 511.47727272727275 270 L 580.6818181818182 270 L 580.6818181818182 330 L 511.47727272727275 330" fill="none" stroke="#5da9e9" stroke-width="2.7272727272727275" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_1" data-pcb-silkscreen-path-id="pcb_silkscreen_path_1" data-type="pcb_silkscreen_path" data-pcb-layer="bottom"/><text x="0" y="0" dx="0" dy="0" fill="#5da9e9" font-family="Arial, sans-serif" font-size="10.90909090909091" text-anchor="middle" dominant-baseline="central" transform="matrix(-1,0,0,1,536.3636363636364,256.3636363636364)" class="pcb-silkscreen-text pcb-silkscreen-bottom" data-pcb-silkscreen-text-id="pcb_component_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="bottom">R2</text><path class="pcb-board" d="M 127.27272727272725 572.7272727272727 L 672.7272727272727 572.7272727272727 L 672.7272727272727 27.272727272727252 L 127.27272727272725 27.272727272727252 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="2.7272727272727275" data-type="pcb_board" data-pcb-layer="board"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="224.77272727272728" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="274.5454545454545" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 288.52272727272725 270 L 219.3181818181818 270 L 219.3181818181818 330 L 288.52272727272725 330" fill="none" stroke="#f2eda1" stroke-width="2.7272727272727275" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_0" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="10.90909090909091" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,263.6363636363636,256.3636363636364)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_component_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">R1</text><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="400" cy="300" r="32.72727272727273" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="400" cy="300" r="16.363636363636363" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><circle class="pcb-hole" cx="400" cy="409.0909090909091" r="27.272727272727273" fill="#FF26E2" data-type="pcb_hole" data-pcb-layer="drill"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" data-software-used-string="@tscircuit/core@0.0.844"><style></style><rect class="boundary" x="0" y="0" fill="#000" width="800" height="600" data-type="pcb_background" data-pcb-layer="global"/><rect class="pcb-boundary" fill="none" stroke="#fff" stroke-width="0.3" x="127.27272727272725" y="27.272727272727252" width="545.4545454545455" height="545.4545454545455" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 127.27272727272725 572.7272727272727 L 672.7272727272727 572.7272727272727 L 672.7272727272727 27.272727272727252 L 127.27272727272725 27.272727272727252 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="2.7272727272727275" data-type="pcb_board" data-pcb-layer="board"/><rect class="pcb-pad" fill="rgb(77, 127, 196)" x="547.2727272727273" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="bottom"/><rect class="pcb-pad" fill="rgb(77, 127, 196)" x="497.5" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="bottom"/><path class="pcb-copper-pour pcb-copper-pour-brep" d="M 672.7272727272727 572.7272727272727 L 127.27272727272725 572.7272727272727 L 127.27272727272725 27.272727272727252 L 672.7272727272727 27.272727272727252 L 672.7272727272727 572.7272727272727 Z M 400 343.6363636363636 L 408.5130454545455 342.79789090909094 L 416.6989 340.31473636363637 L 424.2430545454545 336.2823 L 430.8555727272727 330.8555727272727 L 436.2823 324.2430545454545 L 440.31473636363637 316.6989 L 442.79789090909094 308.5130454545455 L 443.6363636363636 300 L 442.79789090909094 291.4869545454545 L 440.31473636363637 283.3011 L 436.2823 275.7569454545455 L 430.8555727272727 269.1444272727273 L 424.2430545454545 263.7177 L 416.6989 259.68526363636363 L 408.5130454545455 257.20210909090906 L 400 256.3636363636364 L 391.4869545454545 257.20210909090906 L 383.3011 259.68526363636363 L 375.7569454545455 263.7177 L 369.1444272727273 269.1444272727273 L 363.7177 275.7569454545455 L 359.68526363636363 283.3011 L 357.20210909090906 291.4869545454545 L 356.3636363636364 300 L 357.20210909090906 308.5130454545455 L 359.68526363636363 316.6989 L 363.7177 324.2430545454545 L 369.1444272727273 330.8555727272727 L 375.7569454545455 336.2823 L 383.3011 340.31473636363637 L 391.4869545454545 342.79789090909094 L 400 343.6363636363636 Z M 536.3636363636364 330 L 586.1363636363636 330 L 586.1363636363636 270 L 536.3636363636364 270 L 536.3636363636364 330 Z M 400 436.3636363636364 L 405.32063636363637 435.83959090909093 L 410.4368090909091 434.28763636363635 L 415.1519090909091 431.76736363636365 L 419.28473636363634 428.37564545454546 L 422.67645454545453 424.24281818181817 L 425.1967272727273 419.52771818181816 L 426.7486818181818 414.4115454545455 L 427.27272727272725 409.0909090909091 L 426.7486818181818 403.77027272727275 L 425.1967272727273 398.65409999999997 L 422.67645454545453 393.939 L 419.28473636363634 389.8061727272727 L 415.1519090909091 386.41445454545453 L 410.4368090909091 383.89418181818183 L 405.32063636363637 382.34222727272726 L 400 381.8181818181818 L 394.67936363636363 382.34222727272726 L 389.5631909090909 383.89418181818183 L 384.8480909090909 386.41445454545453 L 380.71526363636366 389.8061727272727 L 377.32354545454547 393.939 L 374.8032727272727 398.65409999999997 L 373.2513181818182 403.77027272727275 L 372.72727272727275 409.0909090909091 L 373.2513181818182 414.4115454545455 L 374.8032727272727 419.52771818181816 L 377.32354545454547 424.24281818181817 L 380.71526363636366 428.37564545454546 L 384.8480909090909 431.76736363636365 L 389.5631909090909 434.28763636363635 L 394.67936363636363 435.83959090909093 L 400 436.3636363636364 Z" fill="rgb(77, 127, 196)" fill-rule="evenodd" fill-opacity="0.5" data-type="pcb_copper_pour" data-pcb-layer="bottom"/><path class="pcb-silkscreen pcb-silkscreen-bottom" d="M 511.47727272727275 270 L 580.6818181818182 270 L 580.6818181818182 330 L 511.47727272727275 330" fill="none" stroke="#5da9e9" stroke-width="2.7272727272727275" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_1" data-pcb-silkscreen-path-id="pcb_silkscreen_path_1" data-type="pcb_silkscreen_path" data-pcb-layer="bottom"/><text x="0" y="0" dx="0" dy="0" fill="#5da9e9" font-family="Arial, sans-serif" font-size="10.90909090909091" text-anchor="middle" dominant-baseline="central" transform="matrix(-1,0,0,1,536.3636363636364,256.3636363636364)" class="pcb-silkscreen-text pcb-silkscreen-bottom" data-pcb-silkscreen-text-id="pcb_silkscreen_text_1" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="bottom">R2</text><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="224.77272727272728" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="top"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="274.5454545454545" y="280.90909090909093" width="27.954545454545453" height="38.18181818181818" data-type="pcb_smtpad" data-pcb-layer="top"/><path class="pcb-silkscreen pcb-silkscreen-top" d="M 288.52272727272725 270 L 219.3181818181818 270 L 219.3181818181818 330 L 288.52272727272725 330" fill="none" stroke="#f2eda1" stroke-width="2.7272727272727275" stroke-linecap="round" stroke-linejoin="round" data-pcb-component-id="pcb_component_0" data-pcb-silkscreen-path-id="pcb_silkscreen_path_0" data-type="pcb_silkscreen_path" data-pcb-layer="top"/><text x="0" y="0" dx="0" dy="0" fill="#f2eda1" font-family="Arial, sans-serif" font-size="10.90909090909091" text-anchor="middle" dominant-baseline="central" transform="matrix(1,0,0,1,263.6363636363636,256.3636363636364)" class="pcb-silkscreen-text pcb-silkscreen-top" data-pcb-silkscreen-text-id="pcb_silkscreen_text_0" stroke="none" data-type="pcb_silkscreen_text" data-pcb-layer="top">R1</text><g data-type="pcb_plated_hole" data-pcb-layer="through"><circle class="pcb-hole-outer" fill="rgb(200, 52, 52)" cx="400" cy="300" r="32.72727272727273" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="400" cy="300" r="16.363636363636363" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g><circle class="pcb-hole" cx="400" cy="409.0909090909091" r="27.272727272727273" fill="#FF26E2" data-type="pcb_hole" data-pcb-layer="drill"/></svg>