circuit-json-to-lbrn 0.0.31 → 0.0.33
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 +2 -2
- package/tests/basics/addPcbCutout/__snapshots__/pcb-cutout-path.snap.svg +1 -1
- package/tests/examples/example03/__snapshots__/example03.snap.svg +1 -0
- package/tests/examples/example03/example03.circuit.json +13226 -0
- package/tests/examples/example03/example03.test.ts +33 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "circuit-json-to-lbrn",
|
|
3
3
|
"main": "dist/index.js",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.33",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "bun run site/index.html",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"bun-match-svg": "^0.0.14",
|
|
20
20
|
"circuit-json": "^0.0.316",
|
|
21
21
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
22
|
-
"circuit-to-svg": "^0.0.
|
|
22
|
+
"circuit-to-svg": "^0.0.304",
|
|
23
23
|
"schematic-symbols": "^0.0.202",
|
|
24
24
|
"stack-svgs": "^0.0.1",
|
|
25
25
|
"tsup": "^8.5.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<svg width="800" height="1400" viewBox="0 0 800 1400" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<g transform="translate(0, 0)">
|
|
3
|
-
<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"/>
|
|
3
|
+
<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"/><path class="pcb-cutout pcb-cutout-path" d="M 181.8181818181818 300 L 290.9090909090909 190.9090909090909 L 400 300 L 290.9090909090909 409.0909090909091 Z" fill="#FF26E2" data-type="pcb_cutout_path" data-pcb-cutout-id="cutout_1" data-pcb-layer="drill"/>
|
|
4
4
|
</g>
|
|
5
5
|
<g transform="translate(0, 600) scale(20, 20) translate(19.9, 19.9)">
|
|
6
6
|
<rect x="-19.9" y="-19.9" width="40" height="40" fill="white"/><g transform="matrix(1 0 0 -1 0 0.20000000000000284)"><g transform="matrix(1,0,0,1,0,0)"><path d="M -9.9 -9.9 L 10.1 -9.9 L 10.1 10.1 L -9.9 10.1 L -9.9 -9.9 L -9.9 -9.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -7.9 0.1 L -3.9 4.1 L 0.1 0.1 L -3.9 -3.9 L -7.9 0.1 L -7.9 0.1" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
|