circuit-json-to-lbrn 0.0.41 → 0.0.43

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.
Files changed (91) hide show
  1. package/dist/index.d.ts +12 -1
  2. package/dist/index.js +191 -4
  3. package/lib/ConvertContext.ts +7 -0
  4. package/lib/createCopperCutFillForLayer.ts +232 -0
  5. package/lib/index.ts +70 -4
  6. package/package.json +3 -2
  7. package/site/index.html +40 -5
  8. package/site/main.tsx +13 -0
  9. package/tests/basics/__snapshots__/board-outline-does-not-appear-in soldermask.snap.svg +1 -1
  10. package/tests/basics/__snapshots__/board-outline.snap.svg +1 -1
  11. package/tests/basics/__snapshots__/mixed-soldermask-margins.snap.svg +1 -1
  12. package/tests/basics/addPcbCutout/__snapshots__/pcb-cutout-circle.snap.svg +1 -1
  13. package/tests/basics/addPcbCutout/__snapshots__/pcb-cutout-path.snap.svg +1 -1
  14. package/tests/basics/addPcbCutout/__snapshots__/pcb-cutout-polygon.snap.svg +1 -1
  15. package/tests/basics/addPcbCutout/__snapshots__/pcb-cutout-rect.snap.svg +1 -1
  16. package/tests/basics/addPcbCutout/pcb-cutout-circle.test.ts +1 -1
  17. package/tests/basics/addPcbCutout/pcb-cutout-path.test.ts +1 -1
  18. package/tests/basics/addPcbCutout/pcb-cutout-polygon.test.ts +1 -1
  19. package/tests/basics/addPcbCutout/pcb-cutout-rect.test.ts +1 -1
  20. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-circle.snap.svg +1 -1
  21. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-oval.snap.svg +1 -1
  22. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-pill.snap.svg +1 -1
  23. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-rect.snap.svg +1 -1
  24. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-rotated-pill.snap.svg +1 -1
  25. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-soldermask-margin.snap.svg +1 -1
  26. package/tests/basics/addPcbHole/__snapshots__/pcb-hole-with-soldermask.snap.svg +1 -1
  27. package/tests/basics/addPcbHole/pcb-hole-circle.test.ts +1 -1
  28. package/tests/basics/addPcbHole/pcb-hole-oval.test.ts +1 -1
  29. package/tests/basics/addPcbHole/pcb-hole-pill.test.ts +1 -1
  30. package/tests/basics/addPcbHole/pcb-hole-rect.test.ts +1 -1
  31. package/tests/basics/addPcbHole/pcb-hole-rotated-pill.test.ts +1 -1
  32. package/tests/basics/addPcbHole/pcb-hole-soldermask-margin.test.ts +1 -1
  33. package/tests/basics/addPcbHole/pcb-hole-with-soldermask.test.ts +1 -1
  34. package/tests/basics/addPcbVia/__snapshots__/pcb-via-basic.snap.svg +1 -1
  35. package/tests/basics/addPcbVia/__snapshots__/pcb-via-with-net.snap.svg +1 -1
  36. package/tests/basics/addPcbVia/__snapshots__/pcb-via-with-soldermask.snap.svg +1 -1
  37. package/tests/basics/addPcbVia/pcb-via-basic.test.ts +1 -1
  38. package/tests/basics/addPcbVia/pcb-via-with-net.test.ts +1 -1
  39. package/tests/basics/addPcbVia/pcb-via-with-soldermask.test.ts +1 -1
  40. package/tests/basics/addPlatedHole/__snapshots__/pcb-plated-hole-circular-hole-with-rect-pad.snap.svg +1 -1
  41. package/tests/basics/addPlatedHole/__snapshots__/pcb-plated-hole-oval.snap.svg +1 -1
  42. package/tests/basics/addPlatedHole/__snapshots__/pcb-plated-hole-pill-with-rect-pad.snap.svg +1 -1
  43. package/tests/basics/addPlatedHole/__snapshots__/pcb-plated-hole-pill.snap.svg +1 -1
  44. package/tests/basics/addPlatedHole/__snapshots__/pcb-plated-hole-polygon.snap.svg +1 -1
  45. package/tests/basics/addPlatedHole/__snapshots__/pcb-plated-hole-rotated-pill-with-rect-pad.snap.svg +1 -1
  46. package/tests/basics/addPlatedHole/pcb-plated-hole-circle.test.ts +1 -1
  47. package/tests/basics/addPlatedHole/pcb-plated-hole-circular-hole-with-rect-pad.test.ts +1 -1
  48. package/tests/basics/addPlatedHole/pcb-plated-hole-oval.test.ts +1 -1
  49. package/tests/basics/addPlatedHole/pcb-plated-hole-pill-with-rect-pad.test.ts +1 -1
  50. package/tests/basics/addPlatedHole/pcb-plated-hole-pill.test.ts +1 -1
  51. package/tests/basics/addPlatedHole/pcb-plated-hole-polygon.test.ts +1 -1
  52. package/tests/basics/addPlatedHole/pcb-plated-hole-rotated-pill-with-rect-pad.test.ts +1 -1
  53. package/tests/basics/addSmtPad/__snapshots__/circleSmtPad.snap.svg +1 -1
  54. package/tests/basics/addSmtPad/__snapshots__/pillSmtPad.snap.svg +1 -1
  55. package/tests/basics/addSmtPad/__snapshots__/polygonSmtPad.snap.svg +1 -1
  56. package/tests/basics/addSmtPad/__snapshots__/rotatedPillSmtPad.snap.svg +1 -1
  57. package/tests/basics/addSmtPad/__snapshots__/rotatedRectSmtPad.snap.svg +1 -1
  58. package/tests/basics/addSmtPad/circleSmtPad.test.ts +1 -1
  59. package/tests/basics/addSmtPad/pillSmtPad.test.ts +1 -1
  60. package/tests/basics/addSmtPad/polygonSmtPad.test.ts +1 -1
  61. package/tests/basics/addSmtPad/rotatedPillSmtPad.test.ts +1 -1
  62. package/tests/basics/addSmtPad/rotatedRectSmtPad.test.ts +1 -1
  63. package/tests/basics/board-outline-does-not-appear-in soldermask.test.ts +1 -1
  64. package/tests/basics/board-outline.test.ts +1 -1
  65. package/tests/basics/copper-cut-fill/__snapshots__/copper-cut-fill-basic.snap.svg +8 -0
  66. package/tests/basics/copper-cut-fill/__snapshots__/copper-cut-fill-with-pads.snap.svg +8 -0
  67. package/tests/basics/copper-cut-fill/copper-cut-fill-basic.test.ts +73 -0
  68. package/tests/basics/copper-cut-fill/copper-cut-fill-with-pads.test.ts +128 -0
  69. package/tests/basics/keyboard-defaul60/keyboard-both-layer-includeSoldermask.test.ts +1 -1
  70. package/tests/basics/keyboard-defaul60/keyboard-both-layers.test.ts +1 -1
  71. package/tests/basics/keyboard-defaul60/keyboard-bottom-layer.test.ts +1 -1
  72. package/tests/basics/keyboard-defaul60/keyboard-top-layer.test.ts +1 -1
  73. package/tests/basics/laser-profile.test.ts +4 -4
  74. package/tests/basics/lga-interconnect.test.ts +1 -1
  75. package/tests/basics/mixed-soldermask-margins.test.ts +1 -1
  76. package/tests/basics/single-trace.test.ts +1 -1
  77. package/tests/basics/soldermask/copper-and-soldermask.test.ts +1 -1
  78. package/tests/basics/soldermask/copper-only.test.ts +1 -1
  79. package/tests/basics/soldermask/soldermask-only.test.ts +1 -1
  80. package/tests/basics/soldermask-margin/__snapshots__/percent-soldermask-margin.snap.svg +1 -1
  81. package/tests/basics/soldermask-margin/negative-soldermask-margin.test.ts +1 -1
  82. package/tests/basics/soldermask-margin/percent-soldermask-margin.test.ts +1 -1
  83. package/tests/basics/soldermask-margin/positive-soldermask-margin.test.ts +1 -1
  84. package/tests/basics/trace-margin/pico-w-3x5-led-matrix-trace-margin.test.ts +1 -1
  85. package/tests/basics/trace-margin/trace-margin-basic.test.ts +1 -1
  86. package/tests/basics/trace-margin/trace-margin-error.test.ts +4 -4
  87. package/tests/examples/example01/__snapshots__/example01.snap.svg +1 -1
  88. package/tests/examples/example01/example01.test.ts +1 -1
  89. package/tests/examples/example02/example02.test.ts +1 -1
  90. package/tests/examples/example03/example03.test.ts +1 -1
  91. package/tests/examples/example04/example04.test.ts +1 -1
@@ -3,6 +3,6 @@
3
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"/><g data-type="pcb_plated_hole" data-pcb-layer="through"><polygon class="pcb-hole-outer-pad" fill="rgb(200, 52, 52)" points="345.45454545454544,354.54545454545456 454.54545454545456,354.54545454545456 481.8181818181818,245.45454545454544 454.54545454545456,218.1818181818182 345.45454545454544,218.1818181818182 345.45454545454544,354.54545454545456" data-type="pcb_plated_hole" data-pcb-layer="top"/><circle class="pcb-hole-inner" fill="#FF26E2" cx="400" cy="300" r="27.272727272727273" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(20, 20) translate(19.9, 19.9)">
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 -1.9 -1.9 L 2.1 -1.9 L 3.1 2.1 L 2.1 3.1 L -1.9 3.1 L -1.9 -1.9 L -1.9 -1.9 L -1.9 -1.9 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.9 -1.9 L 2.1 -1.9 L 3.1 2.1 L 2.1 3.1 L -1.9 3.1 L -1.9 -1.9 L -1.9 -1.9 L -1.9 -1.9 Z" fill="none" stroke="#0000FF" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M 1.1 0.1 L 1.095184726672197 0.1980171403295606 L 1.0807852804032305 0.2950903220161283 L 1.056940335732209 0.39028467725446236 L 1.0238795325112868 0.4826834323650898 L 0.981921264348355 0.5713967368259977 L 0.9314696123025452 0.6555702330196022 L 0.873010453362737 0.7343932841636455 L 0.8071067811865476 0.8071067811865474 L 0.7343932841636455 0.873010453362737 L 0.6555702330196023 0.9314696123025452 L 0.5713967368259978 0.9819212643483549 L 0.4826834323650898 1.0238795325112868 L 0.39028467725446236 1.056940335732209 L 0.29509032201612834 1.0807852804032305 L 0.19801714032956078 1.0951847266721968 L 0.10000000000000006 1.1 L 0.0019828596704393603 1.095184726672197 L -0.09509032201612819 1.0807852804032305 L -0.19028467725446216 1.056940335732209 L -0.28268343236508975 1.0238795325112868 L -0.3713967368259977 0.981921264348355 L -0.455570233019602 0.9314696123025453 L -0.5343932841636454 0.8730104533627371 L -0.6071067811865475 0.8071067811865476 L -0.673010453362737 0.7343932841636455 L -0.7314696123025454 0.6555702330196022 L -0.781921264348355 0.5713967368259979 L -0.8238795325112868 0.4826834323650899 L -0.8569403357322088 0.39028467725446236 L -0.8807852804032305 0.2950903220161286 L -0.8951847266721968 0.19801714032956083 L -0.9 0.10000000000000013 L -0.895184726672197 0.001982859670439416 L -0.8807852804032305 -0.09509032201612835 L -0.856940335732209 -0.1902846772544621 L -0.8238795325112869 -0.28268343236508964 L -0.7819212643483551 -0.3713967368259976 L -0.7314696123025455 -0.455570233019602 L -0.6730104533627371 -0.5343932841636453 L -0.6071067811865477 -0.6071067811865475 L -0.5343932841636458 -0.6730104533627367 L -0.4555702330196022 -0.7314696123025453 L -0.37139673682599794 -0.781921264348355 L -0.2826834323650903 -0.8238795325112865 L -0.19028467725446244 -0.8569403357322088 L -0.09509032201612866 -0.8807852804032303 L 0.0019828596704395546 -0.895184726672197 L 0.09999999999999983 -0.9 L 0.19801714032956008 -0.895184726672197 L 0.2950903220161283 -0.8807852804032305 L 0.39028467725446203 -0.856940335732209 L 0.48268343236509004 -0.8238795325112866 L 0.5713967368259976 -0.7819212643483551 L 0.6555702330196018 -0.7314696123025455 L 0.7343932841636456 -0.6730104533627369 L 0.8071067811865473 -0.6071067811865477 L 0.8730104533627366 -0.534393284163646 L 0.9314696123025452 -0.4555702330196022 L 0.9819212643483548 -0.37139673682599794 L 1.0238795325112866 -0.2826834323650904 L 1.056940335732209 -0.1902846772544625 L 1.0807852804032303 -0.09509032201612871 L 1.095184726672197 0.001982859670439499 L 1.1 0.1 L 1.1 0.1 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g><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>
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 1.1 0.1 L 1.095184726672197 0.1980171403295606 L 1.0807852804032305 0.2950903220161283 L 1.056940335732209 0.39028467725446236 L 1.0238795325112868 0.4826834323650898 L 0.981921264348355 0.5713967368259977 L 0.9314696123025452 0.6555702330196022 L 0.873010453362737 0.7343932841636455 L 0.8071067811865476 0.8071067811865474 L 0.7343932841636455 0.873010453362737 L 0.6555702330196023 0.9314696123025452 L 0.5713967368259978 0.9819212643483549 L 0.4826834323650898 1.0238795325112868 L 0.39028467725446236 1.056940335732209 L 0.29509032201612834 1.0807852804032305 L 0.19801714032956078 1.0951847266721968 L 0.10000000000000006 1.1 L 0.0019828596704393603 1.095184726672197 L -0.09509032201612819 1.0807852804032305 L -0.19028467725446216 1.056940335732209 L -0.28268343236508975 1.0238795325112868 L -0.3713967368259977 0.981921264348355 L -0.455570233019602 0.9314696123025453 L -0.5343932841636454 0.8730104533627371 L -0.6071067811865475 0.8071067811865476 L -0.673010453362737 0.7343932841636455 L -0.7314696123025454 0.6555702330196022 L -0.781921264348355 0.5713967368259979 L -0.8238795325112868 0.4826834323650899 L -0.8569403357322088 0.39028467725446236 L -0.8807852804032305 0.2950903220161286 L -0.8951847266721968 0.19801714032956083 L -0.9 0.10000000000000013 L -0.895184726672197 0.001982859670439416 L -0.8807852804032305 -0.09509032201612835 L -0.856940335732209 -0.1902846772544621 L -0.8238795325112869 -0.28268343236508964 L -0.7819212643483551 -0.3713967368259976 L -0.7314696123025455 -0.455570233019602 L -0.6730104533627371 -0.5343932841636453 L -0.6071067811865477 -0.6071067811865475 L -0.5343932841636458 -0.6730104533627367 L -0.4555702330196022 -0.7314696123025453 L -0.37139673682599794 -0.781921264348355 L -0.2826834323650903 -0.8238795325112865 L -0.19028467725446244 -0.8569403357322088 L -0.09509032201612866 -0.8807852804032303 L 0.0019828596704395546 -0.895184726672197 L 0.09999999999999983 -0.9 L 0.19801714032956008 -0.895184726672197 L 0.2950903220161283 -0.8807852804032305 L 0.39028467725446203 -0.856940335732209 L 0.48268343236509004 -0.8238795325112866 L 0.5713967368259976 -0.7819212643483551 L 0.6555702330196018 -0.7314696123025455 L 0.7343932841636456 -0.6730104533627369 L 0.8071067811865473 -0.6071067811865477 L 0.8730104533627366 -0.534393284163646 L 0.9314696123025452 -0.4555702330196022 L 0.9819212643483548 -0.37139673682599794 L 1.0238795325112866 -0.2826834323650904 L 1.056940335732209 -0.1902846772544625 L 1.0807852804032303 -0.09509032201612871 L 1.095184726672197 0.001982859670439499 L 1.1 0.1 L 1.1 0.1 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><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" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.9 -1.9 L 2.1 -1.9 L 3.1 2.1 L 2.1 3.1 L -1.9 3.1 L -1.9 -1.9 L -1.9 -1.9" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.9 -1.9 L 2.1 -1.9 L 3.1 2.1 L 2.1 3.1 L -1.9 3.1 L -1.9 -1.9 L -1.9 -1.9" fill="none" stroke="#0000FF" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -3,6 +3,6 @@
3
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="150" y="50" width="500" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 550 L 650 550 L 650 50 L 150 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><g data-type="pcb_plated_hole" data-pcb-layer="through"><rect class="pcb-hole-outer-pad" fill="rgb(200, 52, 52)" x="-75" y="-100" width="150" height="200" transform="translate(400 300) rotate(0)" rx="10" ry="10" data-type="pcb_plated_hole" data-pcb-layer="top"/><rect class="pcb-hole-inner" fill="#FF26E2" x="-25" y="-50" width="50" height="100" rx="25" ry="25" transform="translate(425 275) rotate(-45)" data-type="pcb_plated_hole_drill" data-pcb-layer="drill"/></g>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(26.666666666666668, 26.666666666666668) translate(14.9, 14.9)">
6
- <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.2 -1.9 L 1.4000000000000001 -1.9 L 1.4000000000000001 -1.9 L 1.476536686473018 -1.8847759065022573 L 1.5414213562373096 -1.8414213562373094 L 1.5847759065022575 -1.776536686473018 L 1.6 -1.7 L 1.6 -1.7 L 1.6 1.9000000000000001 L 1.6 1.9000000000000001 L 1.5847759065022575 1.976536686473018 L 1.5414213562373096 2.0414213562373096 L 1.476536686473018 2.0847759065022573 L 1.4000000000000001 2.1 L 1.4000000000000001 2.1 L -1.2 2.1 L -1.2 2.1 L -1.2765366864730179 2.0847759065022573 L -1.3414213562373094 2.0414213562373096 L -1.3847759065022573 1.976536686473018 L -1.4 1.9000000000000001 L -1.4 1.9000000000000001 L -1.4 -1.7 L -1.4 -1.7 L -1.3847759065022573 -1.7765366864730179 L -1.3414213562373094 -1.8414213562373094 L -1.276536686473018 -1.8847759065022573 L -1.2 -1.9 L -1.2 -1.9 L -1.2 -1.9 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.2 -1.9 L 1.4000000000000001 -1.9 L 1.4000000000000001 -1.9 L 1.476536686473018 -1.8847759065022573 L 1.5414213562373096 -1.8414213562373094 L 1.5847759065022575 -1.776536686473018 L 1.6 -1.7 L 1.6 -1.7 L 1.6 1.9000000000000001 L 1.6 1.9000000000000001 L 1.5847759065022575 1.976536686473018 L 1.5414213562373096 2.0414213562373096 L 1.476536686473018 2.0847759065022573 L 1.4000000000000001 2.1 L 1.4000000000000001 2.1 L -1.2 2.1 L -1.2 2.1 L -1.2765366864730179 2.0847759065022573 L -1.3414213562373094 2.0414213562373096 L -1.3847759065022573 1.976536686473018 L -1.4 1.9000000000000001 L -1.4 1.9000000000000001 L -1.4 -1.7 L -1.4 -1.7 L -1.3847759065022573 -1.7765366864730179 L -1.3414213562373094 -1.8414213562373094 L -1.276536686473018 -1.8847759065022573 L -1.2 -1.9 L -1.2 -1.9 L -1.2 -1.9 Z" fill="none" stroke="#0000FF" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.5999999999999999 -0.10710678118654748 L 0.636356748511451 -0.1400586172746423 L 0.6757682740834726 -0.16928819674454643 L 0.7178550221802746 -0.19451402276745122 L 0.7622116744107287 -0.21549315684891718 L 0.8084110519660426 -0.23202355845937828 L 0.8560082295852094 -0.24394603079488897 L 0.9045448204284932 -0.2511457539293722 L 0.9535533905932736 -0.2535533905932738 L 1.0025619607580538 -0.2511457539293722 L 1.051098551601338 -0.24394603079488908 L 1.0986957292205046 -0.23202355845937833 L 1.1448951067758184 -0.21549315684891734 L 1.1892517590062726 -0.19451402276745133 L 1.2313385071030747 -0.16928819674454665 L 1.2707500326750965 -0.1400586172746423 L 1.3071067811865473 -0.1071067811865477 L 1.340058617274642 -0.07075003267509683 L 1.3692881967445465 -0.031338507103075064 L 1.394514022767451 0.010748240993727176 L 1.415493156848917 0.05510489322418144 L 1.4320235584593781 0.101304270779495 L 1.4439460307948888 0.14890144839866182 L 1.4511457539293722 0.19743803924194558 L 1.4535533905932736 0.24644660940672602 L 1.4511457539293722 0.2954551795715066 L 1.4439460307948888 0.34399177041479023 L 1.4320235584593783 0.39158894803395716 L 1.4154931568489173 0.4377883255892706 L 1.394514022767451 0.4821449778197249 L 1.3692881967445465 0.524231725916527 L 1.340058617274642 0.563643251488549 L 1.3071067811865476 0.6 L 0.6000000000000001 1.3071067811865476 L 0.6000000000000001 1.3071067811865476 L 0.563643251488549 1.3400586172746423 L 0.5242317259165272 1.3692881967445465 L 0.4821449778197249 1.3945140227674513 L 0.4377883255892711 1.415493156848917 L 0.3915889480339575 1.4320235584593783 L 0.34399177041479034 1.443946030794889 L 0.29545517957150647 1.4511457539293724 L 0.24644660940672636 1.453553390593274 L 0.19743803924194592 1.4511457539293722 L 0.14890144839866204 1.4439460307948893 L 0.10130427077949511 1.4320235584593783 L 0.05510489322418122 1.4154931568489173 L 0.01074824099372751 1.3945140227674513 L -0.03133850710307484 1.3692881967445465 L -0.0707500326750965 1.3400586172746425 L -0.10710678118654748 1.3071067811865476 L -0.14005861727464242 1.2707500326750967 L -0.16928819674454643 1.2313385071030751 L -0.19451402276745133 1.189251759006273 L -0.21549315684891723 1.1448951067758188 L -0.23202355845937817 1.098695729220505 L -0.24394603079488908 1.051098551601338 L -0.2511457539293722 1.0025619607580543 L -0.25355339059327375 0.9535533905932738 L -0.25114575392937233 0.9045448204284936 L -0.24394603079488908 0.8560082295852097 L -0.23202355845937828 0.8084110519660428 L -0.2154931568489173 0.7622116744107291 L -0.1945140227674514 0.7178550221802751 L -0.16928819674454654 0.6757682740834728 L -0.14005861727464236 0.6363567485114513 L -0.1071067811865476 0.6000000000000001 L 0.5999999999999999 -0.10710678118654754 L 0.5999999999999999 -0.10710678118654748 L 0.5999999999999999 -0.10710678118654748 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
6
+ <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.5999999999999999 -0.10710678118654748 L 0.636356748511451 -0.1400586172746423 L 0.6757682740834726 -0.16928819674454643 L 0.7178550221802746 -0.19451402276745122 L 0.7622116744107287 -0.21549315684891718 L 0.8084110519660426 -0.23202355845937828 L 0.8560082295852094 -0.24394603079488897 L 0.9045448204284932 -0.2511457539293722 L 0.9535533905932736 -0.2535533905932738 L 1.0025619607580538 -0.2511457539293722 L 1.051098551601338 -0.24394603079488908 L 1.0986957292205046 -0.23202355845937833 L 1.1448951067758184 -0.21549315684891734 L 1.1892517590062726 -0.19451402276745133 L 1.2313385071030747 -0.16928819674454665 L 1.2707500326750965 -0.1400586172746423 L 1.3071067811865473 -0.1071067811865477 L 1.340058617274642 -0.07075003267509683 L 1.3692881967445465 -0.031338507103075064 L 1.394514022767451 0.010748240993727176 L 1.415493156848917 0.05510489322418144 L 1.4320235584593781 0.101304270779495 L 1.4439460307948888 0.14890144839866182 L 1.4511457539293722 0.19743803924194558 L 1.4535533905932736 0.24644660940672602 L 1.4511457539293722 0.2954551795715066 L 1.4439460307948888 0.34399177041479023 L 1.4320235584593783 0.39158894803395716 L 1.4154931568489173 0.4377883255892706 L 1.394514022767451 0.4821449778197249 L 1.3692881967445465 0.524231725916527 L 1.340058617274642 0.563643251488549 L 1.3071067811865476 0.6 L 0.6000000000000001 1.3071067811865476 L 0.6000000000000001 1.3071067811865476 L 0.563643251488549 1.3400586172746423 L 0.5242317259165272 1.3692881967445465 L 0.4821449778197249 1.3945140227674513 L 0.4377883255892711 1.415493156848917 L 0.3915889480339575 1.4320235584593783 L 0.34399177041479034 1.443946030794889 L 0.29545517957150647 1.4511457539293724 L 0.24644660940672636 1.453553390593274 L 0.19743803924194592 1.4511457539293722 L 0.14890144839866204 1.4439460307948893 L 0.10130427077949511 1.4320235584593783 L 0.05510489322418122 1.4154931568489173 L 0.01074824099372751 1.3945140227674513 L -0.03133850710307484 1.3692881967445465 L -0.0707500326750965 1.3400586172746425 L -0.10710678118654748 1.3071067811865476 L -0.14005861727464242 1.2707500326750967 L -0.16928819674454643 1.2313385071030751 L -0.19451402276745133 1.189251759006273 L -0.21549315684891723 1.1448951067758188 L -0.23202355845937817 1.098695729220505 L -0.24394603079488908 1.051098551601338 L -0.2511457539293722 1.0025619607580543 L -0.25355339059327375 0.9535533905932738 L -0.25114575392937233 0.9045448204284936 L -0.24394603079488908 0.8560082295852097 L -0.23202355845937828 0.8084110519660428 L -0.2154931568489173 0.7622116744107291 L -0.1945140227674514 0.7178550221802751 L -0.16928819674454654 0.6757682740834728 L -0.14005861727464236 0.6363567485114513 L -0.1071067811865476 0.6000000000000001 L 0.5999999999999999 -0.10710678118654754 L 0.5999999999999999 -0.10710678118654748 L 0.5999999999999999 -0.10710678118654748 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.2 -1.9 L 1.4000000000000001 -1.9 L 1.476536686473018 -1.8847759065022573 L 1.5414213562373096 -1.8414213562373094 L 1.5847759065022575 -1.776536686473018 L 1.6 -1.7 L 1.6 1.9000000000000001 L 1.5847759065022575 1.976536686473018 L 1.5414213562373096 2.0414213562373096 L 1.476536686473018 2.0847759065022573 L 1.4000000000000001 2.1 L -1.2 2.1 L -1.2765366864730179 2.0847759065022573 L -1.3414213562373094 2.0414213562373096 L -1.3847759065022573 1.976536686473018 L -1.4 1.9000000000000001 L -1.4 -1.7 L -1.3847759065022573 -1.7765366864730179 L -1.3414213562373094 -1.8414213562373094 L -1.276536686473018 -1.8847759065022573 L -1.2 -1.9 L -1.2 -1.9" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -1.2 -1.9 L 1.4000000000000001 -1.9 L 1.476536686473018 -1.8847759065022573 L 1.5414213562373096 -1.8414213562373094 L 1.5847759065022575 -1.776536686473018 L 1.6 -1.7 L 1.6 1.9000000000000001 L 1.5847759065022575 1.976536686473018 L 1.5414213562373096 2.0414213562373096 L 1.476536686473018 2.0847759065022573 L 1.4000000000000001 2.1 L -1.2 2.1 L -1.2765366864730179 2.0847759065022573 L -1.3414213562373094 2.0414213562373096 L -1.3847759065022573 1.976536686473018 L -1.4 1.9000000000000001 L -1.4 -1.7 L -1.3847759065022573 -1.7765366864730179 L -1.3414213562373094 -1.8414213562373094 L -1.276536686473018 -1.8847759065022573 L -1.2 -1.9 L -1.2 -1.9" fill="none" stroke="#0000FF" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -52,7 +52,7 @@ const circuitJson: CircuitJson = [
52
52
  test("renders a circle plated hole with copper cut", async () => {
53
53
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
54
54
 
55
- const project = convertCircuitJsonToLbrn(circuitJson)
55
+ const project = await convertCircuitJsonToLbrn(circuitJson)
56
56
 
57
57
  const lbrnSvg = await generateLightBurnSvg(project)
58
58
 
@@ -44,7 +44,7 @@ const circuitJson: CircuitJson = [
44
44
  test("renders a circular hole with rect pad", async () => {
45
45
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
46
46
 
47
- const project = convertCircuitJsonToLbrn(circuitJson)
47
+ const project = await convertCircuitJsonToLbrn(circuitJson)
48
48
 
49
49
  const lbrnSvg = await generateLightBurnSvg(project)
50
50
 
@@ -91,7 +91,7 @@ const circuitJson: CircuitJson = [
91
91
  test("renders oval plated holes with different orientations", async () => {
92
92
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
93
93
 
94
- const project = convertCircuitJsonToLbrn(circuitJson)
94
+ const project = await convertCircuitJsonToLbrn(circuitJson)
95
95
 
96
96
  const lbrnSvg = await generateLightBurnSvg(project)
97
97
 
@@ -45,7 +45,7 @@ const circuitJson: CircuitJson = [
45
45
 
46
46
  test("renders pill holes with rectangular pads", async () => {
47
47
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
48
- const project = convertCircuitJsonToLbrn(circuitJson)
48
+ const project = await convertCircuitJsonToLbrn(circuitJson)
49
49
  const lbrnSvg = await generateLightBurnSvg(project)
50
50
 
51
51
  expect(stackSvgsVertically([pcbSvg, lbrnSvg])).toMatchSvgSnapshot(
@@ -91,7 +91,7 @@ const circuitJson: CircuitJson = [
91
91
  test("renders pill plated holes with different orientations", async () => {
92
92
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
93
93
 
94
- const project = convertCircuitJsonToLbrn(circuitJson)
94
+ const project = await convertCircuitJsonToLbrn(circuitJson)
95
95
 
96
96
  const lbrnSvg = await generateLightBurnSvg(project)
97
97
 
@@ -49,7 +49,7 @@ const circuitJson: CircuitJson = [
49
49
  test("convert pcb plated hole with polygon pad to lbrn", async () => {
50
50
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
51
51
 
52
- const project = convertCircuitJsonToLbrn(circuitJson)
52
+ const project = await convertCircuitJsonToLbrn(circuitJson)
53
53
 
54
54
  const lbrnSvg = await generateLightBurnSvg(project)
55
55
 
@@ -47,7 +47,7 @@ const circuitJson: CircuitJson = [
47
47
 
48
48
  test("renders rotated pill holes with rectangular pads", async () => {
49
49
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
50
- const project = convertCircuitJsonToLbrn(circuitJson)
50
+ const project = await convertCircuitJsonToLbrn(circuitJson)
51
51
  const lbrnSvg = await generateLightBurnSvg(project)
52
52
 
53
53
  expect(stackSvgsVertically([pcbSvg, lbrnSvg])).toMatchSvgSnapshot(
@@ -3,6 +3,6 @@
3
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="150" y="50" width="500" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 550 L 650 550 L 650 50 L 150 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><circle class="pcb-pad" fill="rgb(200, 52, 52)" cx="400" cy="300" r="50" data-type="pcb_smtpad" data-pcb-layer="top"/>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(26.666666666666668, 26.666666666666668) translate(13.9, 13.9)">
6
- <rect x="-13.9" y="-13.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 2.200000000000001)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 2.1 1.1 L 2.095184726672197 1.1980171403295607 L 2.0807852804032305 1.2950903220161283 L 2.056940335732209 1.3902846772544624 L 2.0238795325112866 1.48268343236509 L 1.981921264348355 1.5713967368259978 L 1.9314696123025454 1.6555702330196023 L 1.873010453362737 1.7343932841636456 L 1.8071067811865476 1.8071067811865476 L 1.7343932841636456 1.873010453362737 L 1.6555702330196023 1.9314696123025454 L 1.571396736825998 1.981921264348355 L 1.48268343236509 2.0238795325112866 L 1.3902846772544624 2.056940335732209 L 1.2950903220161285 2.0807852804032305 L 1.198017140329561 2.095184726672197 L 1.1 2.1 L 1.0019828596704394 2.095184726672197 L 0.9049096779838719 2.0807852804032305 L 0.8097153227455379 2.056940335732209 L 0.7173165676349104 2.0238795325112866 L 0.6286032631740024 1.981921264348355 L 0.5444297669803981 1.9314696123025454 L 0.4656067158363547 1.8730104533627372 L 0.3928932188134526 1.8071067811865476 L 0.3269895466372631 1.7343932841636456 L 0.26853038769745474 1.6555702330196023 L 0.21807873565164515 1.571396736825998 L 0.17612046748871335 1.48268343236509 L 0.14305966426779126 1.3902846772544626 L 0.11921471959676966 1.2950903220161287 L 0.10481527332780327 1.198017140329561 L 0.10000000000000009 1.1000000000000003 L 0.10481527332780316 1.0019828596704394 L 0.11921471959676966 0.9049096779838717 L 0.14305966426779115 0.809715322745538 L 0.17612046748871324 0.7173165676349105 L 0.21807873565164504 0.6286032631740024 L 0.26853038769745463 0.5444297669803981 L 0.326989546637263 0.4656067158363548 L 0.3928932188134524 0.3928932188134526 L 0.46560671583635427 0.32698954663726343 L 0.5444297669803979 0.26853038769745485 L 0.6286032631740022 0.21807873565164515 L 0.7173165676349098 0.17612046748871357 L 0.8097153227455376 0.14305966426779126 L 0.9049096779838715 0.11921471959676977 L 1.0019828596704397 0.10481527332780316 L 1.0999999999999999 0.10000000000000009 L 1.19801714032956 0.10481527332780316 L 1.2950903220161285 0.11921471959676966 L 1.3902846772544621 0.14305966426779115 L 1.4826834323650901 0.17612046748871346 L 1.5713967368259976 0.21807873565164504 L 1.6555702330196018 0.26853038769745463 L 1.7343932841636458 0.3269895466372632 L 1.8071067811865476 0.3928932188134524 L 1.8730104533627367 0.46560671583635416 L 1.9314696123025454 0.5444297669803979 L 1.981921264348355 0.6286032631740022 L 2.0238795325112866 0.7173165676349097 L 2.056940335732209 0.8097153227455376 L 2.0807852804032305 0.9049096779838713 L 2.095184726672197 1.0019828596704397 L 2.1 1.1 L 2.1 1.1 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -3.9 -3.9 L 6.1 -3.9 L 6.1 6.1 L -3.9 6.1 L -3.9 -3.9 L -3.9 -3.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
6
+ <rect x="-13.9" y="-13.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 2.200000000000001)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 2.1 1.1 L 2.095184726672197 1.1980171403295607 L 2.0807852804032305 1.2950903220161283 L 2.056940335732209 1.3902846772544624 L 2.0238795325112866 1.48268343236509 L 1.981921264348355 1.5713967368259978 L 1.9314696123025454 1.6555702330196023 L 1.873010453362737 1.7343932841636456 L 1.8071067811865476 1.8071067811865476 L 1.7343932841636456 1.873010453362737 L 1.6555702330196023 1.9314696123025454 L 1.571396736825998 1.981921264348355 L 1.48268343236509 2.0238795325112866 L 1.3902846772544624 2.056940335732209 L 1.2950903220161285 2.0807852804032305 L 1.198017140329561 2.095184726672197 L 1.1 2.1 L 1.0019828596704394 2.095184726672197 L 0.9049096779838719 2.0807852804032305 L 0.8097153227455379 2.056940335732209 L 0.7173165676349104 2.0238795325112866 L 0.6286032631740024 1.981921264348355 L 0.5444297669803981 1.9314696123025454 L 0.4656067158363547 1.8730104533627372 L 0.3928932188134526 1.8071067811865476 L 0.3269895466372631 1.7343932841636456 L 0.26853038769745474 1.6555702330196023 L 0.21807873565164515 1.571396736825998 L 0.17612046748871335 1.48268343236509 L 0.14305966426779126 1.3902846772544626 L 0.11921471959676966 1.2950903220161287 L 0.10481527332780327 1.198017140329561 L 0.10000000000000009 1.1000000000000003 L 0.10481527332780316 1.0019828596704394 L 0.11921471959676966 0.9049096779838717 L 0.14305966426779115 0.809715322745538 L 0.17612046748871324 0.7173165676349105 L 0.21807873565164504 0.6286032631740024 L 0.26853038769745463 0.5444297669803981 L 0.326989546637263 0.4656067158363548 L 0.3928932188134524 0.3928932188134526 L 0.46560671583635427 0.32698954663726343 L 0.5444297669803979 0.26853038769745485 L 0.6286032631740022 0.21807873565164515 L 0.7173165676349098 0.17612046748871357 L 0.8097153227455376 0.14305966426779126 L 0.9049096779838715 0.11921471959676977 L 1.0019828596704397 0.10481527332780316 L 1.0999999999999999 0.10000000000000009 L 1.19801714032956 0.10481527332780316 L 1.2950903220161285 0.11921471959676966 L 1.3902846772544621 0.14305966426779115 L 1.4826834323650901 0.17612046748871346 L 1.5713967368259976 0.21807873565164504 L 1.6555702330196018 0.26853038769745463 L 1.7343932841636458 0.3269895466372632 L 1.8071067811865476 0.3928932188134524 L 1.8730104533627367 0.46560671583635416 L 1.9314696123025454 0.5444297669803979 L 1.981921264348355 0.6286032631740022 L 2.0238795325112866 0.7173165676349097 L 2.056940335732209 0.8097153227455376 L 2.0807852804032305 0.9049096779838713 L 2.095184726672197 1.0019828596704397 L 2.1 1.1 L 2.1 1.1 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -3.9 -3.9 L 6.1 -3.9 L 6.1 6.1 L -3.9 6.1 L -3.9 -3.9 L -3.9 -3.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -3,6 +3,6 @@
3
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="150" y="50" width="500" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 550 L 650 550 L 650 50 L 150 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="350" y="275" width="100" height="50" rx="25" ry="25" data-type="pcb_smtpad" data-pcb-layer="top"/>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(26.666666666666668, 26.666666666666668) translate(14.9, 14.9)">
6
- <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.6 -0.4 L 0.6490085701647803 -0.3975923633360984 L 0.6975451610080642 -0.39039264020161524 L 0.7451423386272311 -0.37847016786610443 L 0.7913417161825449 -0.3619397662556434 L 0.8356983684129988 -0.3409606321741775 L 0.8777851165098012 -0.3157348061512726 L 0.9171966420818227 -0.28650522668136846 L 0.9535533905932738 -0.25355339059327375 L 0.9865052266813685 -0.21719664208182274 L 1.0157348061512725 -0.17778511650980108 L 1.0409606321741776 -0.13569836841299887 L 1.0619397662556433 -0.09134171618254489 L 1.0784701678661044 -0.04514233862723113 L 1.0903926402016153 0.0024548389919358815 L 1.0975923633360984 0.05099142983521965 L 1.1 0.1 L 1.0975923633360984 0.14900857016478036 L 1.0903926402016153 0.19754516100806413 L 1.0784701678661044 0.24514233862723114 L 1.0619397662556433 0.2913417161825449 L 1.0409606321741776 0.3356983684129989 L 1.0157348061512725 0.37778511650980107 L 0.9865052266813685 0.4171966420818227 L 0.9535533905932738 0.4535533905932737 L 0.9171966420818227 0.48650522668136853 L 0.877785116509801 0.5157348061512727 L 0.8356983684129988 0.5409606321741774 L 0.7913417161825449 0.5619397662556433 L 0.7451423386272311 0.5784701678661044 L 0.6975451610080643 0.5903926402016152 L 0.6490085701647803 0.5975923633360984 L 0.6 0.6 L -0.4 0.6 L -0.39999999999999997 0.6 L -0.44900857016478035 0.5975923633360984 L -0.4975451610080641 0.5903926402016152 L -0.5451423386272312 0.5784701678661045 L -0.5913417161825449 0.5619397662556433 L -0.6356983684129989 0.5409606321741776 L -0.677785116509801 0.5157348061512727 L -0.7171966420818228 0.48650522668136853 L -0.7535533905932738 0.4535533905932738 L -0.7865052266813686 0.4171966420818227 L -0.8157348061512727 0.37778511650980107 L -0.8409606321741775 0.33569836841299894 L -0.8619397662556434 0.29134171618254495 L -0.8784701678661044 0.2451423386272312 L -0.8903926402016152 0.1975451610080643 L -0.8975923633360985 0.14900857016478042 L -0.9 0.10000000000000006 L -0.8975923633360985 0.05099142983521971 L -0.8903926402016152 0.002454838991935826 L -0.8784701678661044 -0.04514233862723105 L -0.8619397662556434 -0.09134171618254483 L -0.8409606321741776 -0.13569836841299882 L -0.8157348061512728 -0.17778511650980097 L -0.7865052266813686 -0.21719664208182263 L -0.7535533905932739 -0.25355339059327375 L -0.7171966420818225 -0.2865052266813686 L -0.6777851165098011 -0.3157348061512726 L -0.635698368412999 -0.3409606321741775 L -0.5913417161825452 -0.3619397662556433 L -0.5451423386272313 -0.37847016786610443 L -0.49754516100806434 -0.3903926402016151 L -0.44900857016478024 -0.3975923633360985 L -0.40000000000000013 -0.4 L 0.6 -0.4 L 0.6 -0.4 L 0.6 -0.4 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
6
+ <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.6 -0.4 L 0.6490085701647803 -0.3975923633360984 L 0.6975451610080642 -0.39039264020161524 L 0.7451423386272311 -0.37847016786610443 L 0.7913417161825449 -0.3619397662556434 L 0.8356983684129988 -0.3409606321741775 L 0.8777851165098012 -0.3157348061512726 L 0.9171966420818227 -0.28650522668136846 L 0.9535533905932738 -0.25355339059327375 L 0.9865052266813685 -0.21719664208182274 L 1.0157348061512725 -0.17778511650980108 L 1.0409606321741776 -0.13569836841299887 L 1.0619397662556433 -0.09134171618254489 L 1.0784701678661044 -0.04514233862723113 L 1.0903926402016153 0.0024548389919358815 L 1.0975923633360984 0.05099142983521965 L 1.1 0.1 L 1.0975923633360984 0.14900857016478036 L 1.0903926402016153 0.19754516100806413 L 1.0784701678661044 0.24514233862723114 L 1.0619397662556433 0.2913417161825449 L 1.0409606321741776 0.3356983684129989 L 1.0157348061512725 0.37778511650980107 L 0.9865052266813685 0.4171966420818227 L 0.9535533905932738 0.4535533905932737 L 0.9171966420818227 0.48650522668136853 L 0.877785116509801 0.5157348061512727 L 0.8356983684129988 0.5409606321741774 L 0.7913417161825449 0.5619397662556433 L 0.7451423386272311 0.5784701678661044 L 0.6975451610080643 0.5903926402016152 L 0.6490085701647803 0.5975923633360984 L 0.6 0.6 L -0.4 0.6 L -0.39999999999999997 0.6 L -0.44900857016478035 0.5975923633360984 L -0.4975451610080641 0.5903926402016152 L -0.5451423386272312 0.5784701678661045 L -0.5913417161825449 0.5619397662556433 L -0.6356983684129989 0.5409606321741776 L -0.677785116509801 0.5157348061512727 L -0.7171966420818228 0.48650522668136853 L -0.7535533905932738 0.4535533905932738 L -0.7865052266813686 0.4171966420818227 L -0.8157348061512727 0.37778511650980107 L -0.8409606321741775 0.33569836841299894 L -0.8619397662556434 0.29134171618254495 L -0.8784701678661044 0.2451423386272312 L -0.8903926402016152 0.1975451610080643 L -0.8975923633360985 0.14900857016478042 L -0.9 0.10000000000000006 L -0.8975923633360985 0.05099142983521971 L -0.8903926402016152 0.002454838991935826 L -0.8784701678661044 -0.04514233862723105 L -0.8619397662556434 -0.09134171618254483 L -0.8409606321741776 -0.13569836841299882 L -0.8157348061512728 -0.17778511650980097 L -0.7865052266813686 -0.21719664208182263 L -0.7535533905932739 -0.25355339059327375 L -0.7171966420818225 -0.2865052266813686 L -0.6777851165098011 -0.3157348061512726 L -0.635698368412999 -0.3409606321741775 L -0.5913417161825452 -0.3619397662556433 L -0.5451423386272313 -0.37847016786610443 L -0.49754516100806434 -0.3903926402016151 L -0.44900857016478024 -0.3975923633360985 L -0.40000000000000013 -0.4 L 0.6 -0.4 L 0.6 -0.4 L 0.6 -0.4 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -3,6 +3,6 @@
3
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="150" y="50" width="500" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 550 L 650 550 L 650 50 L 150 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><polygon class="pcb-pad" fill="rgb(200, 52, 52)" points="400,300 500,300 500,250 450,250 450,200 400,200 400,250" data-type="pcb_smtpad" data-pcb-layer="top"/>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(26.666666666666668, 26.666666666666668) translate(14.9, 14.9)">
6
- <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.1 0.1 L 2.1 0.1 L 2.1 1.1 L 1.1 1.1 L 1.1 2.1 L 0.1 2.1 L 0.1 1.1 L 0.1 0.1 L 0.1 0.1 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
6
+ <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.1 0.1 L 2.1 0.1 L 2.1 1.1 L 1.1 1.1 L 1.1 2.1 L 0.1 2.1 L 0.1 1.1 L 0.1 0.1 L 0.1 0.1 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -3,6 +3,6 @@
3
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="150" y="50" width="500" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 150 550 L 650 550 L 650 50 L 150 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="-50" y="-25" width="100" height="50" rx="25" ry="25" data-type="pcb_smtpad" data-pcb-layer="top" transform="translate(400 300) rotate(-45)"/>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(26.666666666666668, 26.666666666666668) translate(14.9, 14.9)">
6
- <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.8071067811865476 0.09999999999999992 L 0.8400586172746423 0.13635674851145102 L 0.8692881967445465 0.17576827408347262 L 0.8945140227674512 0.21785502218027492 L 0.9154931568489171 0.2622116744107289 L 0.9320235584593782 0.30841105196604257 L 0.943946030794889 0.35600822958520967 L 0.9511457539293722 0.40454482042849343 L 0.9535533905932738 0.4535533905932737 L 0.9511457539293723 0.502561960758054 L 0.9439460307948889 0.5510985516013378 L 0.9320235584593782 0.5986957292205048 L 0.9154931568489172 0.6448951067758186 L 0.8945140227674513 0.6892517590062724 L 0.8692881967445465 0.7313385071030748 L 0.8400586172746424 0.7707500326750965 L 0.8071067811865476 0.8071067811865474 L 0.7707500326750966 0.8400586172746423 L 0.7313385071030749 0.8692881967445464 L 0.6892517590062726 0.8945140227674512 L 0.6448951067758187 0.9154931568489171 L 0.598695729220505 0.9320235584593781 L 0.5510985516013379 0.9439460307948888 L 0.5025619607580541 0.9511457539293722 L 0.4535533905932739 0.9535533905932737 L 0.4045448204284935 0.9511457539293722 L 0.3560082295852095 0.9439460307948888 L 0.3084110519660427 0.9320235584593781 L 0.26221167441072896 0.9154931568489172 L 0.21785502218027497 0.8945140227674513 L 0.1757682740834729 0.8692881967445465 L 0.13635674851145113 0.8400586172746423 L 0.10000000000000009 0.8071067811865476 L -0.6071067811865475 0.10000000000000003 L -0.6071067811865475 0.10000000000000003 L -0.6400586172746423 0.06364325148854899 L -0.6692881967445463 0.024231725916527447 L -0.6945140227674513 -0.017855022180274738 L -0.7154931568489171 -0.062211674410728834 L -0.7320235584593784 -0.1084110519660425 L -0.743946030794889 -0.15600822958520943 L -0.7511457539293723 -0.20454482042849337 L -0.7535533905932739 -0.2535533905932737 L -0.7511457539293723 -0.3025619607580541 L -0.7439460307948891 -0.35109855160133796 L -0.7320235584593784 -0.3986957292205048 L -0.7154931568489173 -0.44489510677581856 L -0.6945140227674513 -0.4892517590062725 L -0.6692881967445466 -0.5313385071030747 L -0.6400586172746424 -0.5707500326750965 L -0.6071067811865476 -0.6071067811865475 L -0.5707500326750966 -0.6400586172746423 L -0.531338507103075 -0.6692881967445464 L -0.4892517590062727 -0.6945140227674511 L -0.4448951067758188 -0.7154931568489171 L -0.398695729220505 -0.7320235584593782 L -0.3510985516013382 -0.7439460307948891 L -0.3025619607580543 -0.7511457539293722 L -0.2535533905932739 -0.7535533905932738 L -0.2045448204284933 -0.751145753929372 L -0.15600822958520977 -0.7439460307948889 L -0.10841105196604273 -0.7320235584593783 L -0.06221167441072917 -0.7154931568489171 L -0.017855022180275126 -0.6945140227674513 L 0.024231725916527114 -0.6692881967445465 L 0.06364325148854905 -0.6400586172746422 L 0.09999999999999987 -0.6071067811865476 L 0.8071067811865476 0.09999999999999992 L 0.8071067811865476 0.09999999999999992 L 0.8071067811865476 0.09999999999999992 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
6
+ <rect x="-14.9" y="-14.9" width="30" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.8071067811865476 0.09999999999999992 L 0.8400586172746423 0.13635674851145102 L 0.8692881967445465 0.17576827408347262 L 0.8945140227674512 0.21785502218027492 L 0.9154931568489171 0.2622116744107289 L 0.9320235584593782 0.30841105196604257 L 0.943946030794889 0.35600822958520967 L 0.9511457539293722 0.40454482042849343 L 0.9535533905932738 0.4535533905932737 L 0.9511457539293723 0.502561960758054 L 0.9439460307948889 0.5510985516013378 L 0.9320235584593782 0.5986957292205048 L 0.9154931568489172 0.6448951067758186 L 0.8945140227674513 0.6892517590062724 L 0.8692881967445465 0.7313385071030748 L 0.8400586172746424 0.7707500326750965 L 0.8071067811865476 0.8071067811865474 L 0.7707500326750966 0.8400586172746423 L 0.7313385071030749 0.8692881967445464 L 0.6892517590062726 0.8945140227674512 L 0.6448951067758187 0.9154931568489171 L 0.598695729220505 0.9320235584593781 L 0.5510985516013379 0.9439460307948888 L 0.5025619607580541 0.9511457539293722 L 0.4535533905932739 0.9535533905932737 L 0.4045448204284935 0.9511457539293722 L 0.3560082295852095 0.9439460307948888 L 0.3084110519660427 0.9320235584593781 L 0.26221167441072896 0.9154931568489172 L 0.21785502218027497 0.8945140227674513 L 0.1757682740834729 0.8692881967445465 L 0.13635674851145113 0.8400586172746423 L 0.10000000000000009 0.8071067811865476 L -0.6071067811865475 0.10000000000000003 L -0.6071067811865475 0.10000000000000003 L -0.6400586172746423 0.06364325148854899 L -0.6692881967445463 0.024231725916527447 L -0.6945140227674513 -0.017855022180274738 L -0.7154931568489171 -0.062211674410728834 L -0.7320235584593784 -0.1084110519660425 L -0.743946030794889 -0.15600822958520943 L -0.7511457539293723 -0.20454482042849337 L -0.7535533905932739 -0.2535533905932737 L -0.7511457539293723 -0.3025619607580541 L -0.7439460307948891 -0.35109855160133796 L -0.7320235584593784 -0.3986957292205048 L -0.7154931568489173 -0.44489510677581856 L -0.6945140227674513 -0.4892517590062725 L -0.6692881967445466 -0.5313385071030747 L -0.6400586172746424 -0.5707500326750965 L -0.6071067811865476 -0.6071067811865475 L -0.5707500326750966 -0.6400586172746423 L -0.531338507103075 -0.6692881967445464 L -0.4892517590062727 -0.6945140227674511 L -0.4448951067758188 -0.7154931568489171 L -0.398695729220505 -0.7320235584593782 L -0.3510985516013382 -0.7439460307948891 L -0.3025619607580543 -0.7511457539293722 L -0.2535533905932739 -0.7535533905932738 L -0.2045448204284933 -0.751145753929372 L -0.15600822958520977 -0.7439460307948889 L -0.10841105196604273 -0.7320235584593783 L -0.06221167441072917 -0.7154931568489171 L -0.017855022180275126 -0.6945140227674513 L 0.024231725916527114 -0.6692881967445465 L 0.06364325148854905 -0.6400586172746422 L 0.09999999999999987 -0.6071067811865476 L 0.8071067811865476 0.09999999999999992 L 0.8071067811865476 0.09999999999999992 L 0.8071067811865476 0.09999999999999992 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -4.9 -4.9 L 5.1 -4.9 L 5.1 5.1 L -4.9 5.1 L -4.9 -4.9 L -4.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -3,6 +3,6 @@
3
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="100" y="50" width="600" height="500" data-type="pcb_boundary" data-pcb-layer="global"/><path class="pcb-board" d="M 100 550 L 700 550 L 700 50 L 100 50 Z" fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="5" data-type="pcb_board" data-pcb-layer="board"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="-50" y="-50" width="100" height="100" transform="translate(200 300) rotate(-45)" data-type="pcb_smtpad" data-pcb-layer="top" rx="25" ry="25"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="-50" y="-50" width="100" height="100" transform="translate(400 300) rotate(-30)" data-type="pcb_smtpad" data-pcb-layer="top" rx="25" ry="25"/><rect class="pcb-pad" fill="rgb(200, 52, 52)" x="550" y="250" width="100" height="100" data-type="pcb_smtpad" data-pcb-layer="top"/>
4
4
  </g>
5
5
  <g transform="translate(0, 600) scale(25, 25) translate(15.9, 14.9)">
6
- <rect x="-15.9" y="-14.9" width="32" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M -3.5464466094067264 -0.9606601717798214 L -2.8393398282201785 -0.25355339059327386 L -2.8393398282201785 -0.25355339059327386 L -2.730953452557809 -0.0913417161825448 L -2.6928932188134524 0.0999999999999999 L -2.7309534525578085 0.29134171618254445 L -2.8393398282201785 0.4535533905932736 L -2.8393398282201785 0.4535533905932737 L -3.546446609406726 1.1606601717798213 L -3.546446609406726 1.1606601717798213 L -3.708658283817455 1.269046547442191 L -3.9 1.3071067811865476 L -4.091341716182544 1.269046547442191 L -4.253553390593273 1.1606601717798215 L -4.253553390593273 1.1606601717798215 L -4.960660171779821 0.4535533905932738 L -4.960660171779821 0.45355339059327393 L -5.069046547442191 0.2913417161825451 L -5.107106781186547 0.1 L -5.069046547442191 -0.0913417161825448 L -4.960660171779821 -0.25355339059327364 L -4.960660171779821 -0.25355339059327364 L -4.253553390593273 -0.9606601717798212 L -4.253553390593273 -0.9606601717798212 L -4.091341716182545 -1.0690465474421909 L -3.9 -1.1071067811865474 L -3.7086582838174555 -1.0690465474421909 L -3.5464466094067264 -0.9606601717798214 L -3.5464466094067264 -0.9606601717798214 L -3.5464466094067264 -0.9606601717798214 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.1669872981077806 -1.0160254037844385 L 1.0330127018922193 -0.5160254037844387 L 1.0330127018922193 -0.5160254037844388 L 1.179689372037837 -0.38739341639657954 L 1.2659756150367536 -0.21242222444347994 L 1.2787351325791247 -0.017749605782194006 L 1.216025403784439 0.16698729810778049 L 1.2160254037844387 0.1669872981077806 L 0.7160254037844387 1.0330127018922193 L 0.7160254037844387 1.0330127018922193 L 0.5873934163965797 1.179689372037837 L 0.41242222444347987 1.2659756150367536 L 0.21774960578219363 1.2787351325791247 L 0.033012701892219415 1.2160254037844387 L 0.033012701892219415 1.2160254037844387 L -0.8330127018922193 0.7160254037844387 L -0.8330127018922192 0.7160254037844388 L -0.9796893720378367 0.5873934163965798 L -1.0659756150367534 0.41242222444347987 L -1.0787351325791246 0.21774960578219363 L -1.0160254037844387 0.033012701892219526 L -1.0160254037844385 0.033012701892219415 L -0.5160254037844387 -0.8330127018922193 L -0.5160254037844388 -0.8330127018922192 L -0.38739341639657987 -0.9796893720378369 L -0.21242222444347994 -1.0659756150367534 L -0.017749605782193895 -1.0787351325791246 L 0.16698729810778049 -1.0160254037844387 L 0.1669872981077806 -1.0160254037844385 L 0.1669872981077806 -1.0160254037844385 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M 3.0999999999999996 -0.9 L 5.1 -0.9 L 5.1 -0.9 L 5.1 -0.9 L 5.1 1.1 L 5.1 1.1 L 5.1 1.1 L 3.0999999999999996 1.1 L 3.0999999999999996 1.1 L 3.0999999999999996 1.1 L 3.0999999999999996 -0.9 L 3.0999999999999996 -0.9 L 3.0999999999999996 -0.9 L 3.0999999999999996 -0.9 Z" fill="none" stroke="#000000" stroke-width="0.1"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -5.9 -4.9 L 6.1 -4.9 L 6.1 5.1 L -5.9 5.1 L -5.9 -4.9 L -5.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1"/></g></g>
6
+ <rect x="-15.9" y="-14.9" width="32" height="30" fill="white"/><g transform="matrix(1 0 0 -1 0 0.1999999999999993)"><g transform="matrix(1,0,0,1,0,0)"><path d="M -3.5464466094067264 -0.9606601717798214 L -2.8393398282201785 -0.25355339059327386 L -2.8393398282201785 -0.25355339059327386 L -2.730953452557809 -0.0913417161825448 L -2.6928932188134524 0.0999999999999999 L -2.7309534525578085 0.29134171618254445 L -2.8393398282201785 0.4535533905932736 L -2.8393398282201785 0.4535533905932737 L -3.546446609406726 1.1606601717798213 L -3.546446609406726 1.1606601717798213 L -3.708658283817455 1.269046547442191 L -3.9 1.3071067811865476 L -4.091341716182544 1.269046547442191 L -4.253553390593273 1.1606601717798215 L -4.253553390593273 1.1606601717798215 L -4.960660171779821 0.4535533905932738 L -4.960660171779821 0.45355339059327393 L -5.069046547442191 0.2913417161825451 L -5.107106781186547 0.1 L -5.069046547442191 -0.0913417161825448 L -4.960660171779821 -0.25355339059327364 L -4.960660171779821 -0.25355339059327364 L -4.253553390593273 -0.9606601717798212 L -4.253553390593273 -0.9606601717798212 L -4.091341716182545 -1.0690465474421909 L -3.9 -1.1071067811865474 L -3.7086582838174555 -1.0690465474421909 L -3.5464466094067264 -0.9606601717798214 L -3.5464466094067264 -0.9606601717798214 L -3.5464466094067264 -0.9606601717798214 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M 0.1669872981077806 -1.0160254037844385 L 1.0330127018922193 -0.5160254037844387 L 1.0330127018922193 -0.5160254037844388 L 1.179689372037837 -0.38739341639657954 L 1.2659756150367536 -0.21242222444347994 L 1.2787351325791247 -0.017749605782194006 L 1.216025403784439 0.16698729810778049 L 1.2160254037844387 0.1669872981077806 L 0.7160254037844387 1.0330127018922193 L 0.7160254037844387 1.0330127018922193 L 0.5873934163965797 1.179689372037837 L 0.41242222444347987 1.2659756150367536 L 0.21774960578219363 1.2787351325791247 L 0.033012701892219415 1.2160254037844387 L 0.033012701892219415 1.2160254037844387 L -0.8330127018922193 0.7160254037844387 L -0.8330127018922192 0.7160254037844388 L -0.9796893720378367 0.5873934163965798 L -1.0659756150367534 0.41242222444347987 L -1.0787351325791246 0.21774960578219363 L -1.0160254037844387 0.033012701892219526 L -1.0160254037844385 0.033012701892219415 L -0.5160254037844387 -0.8330127018922193 L -0.5160254037844388 -0.8330127018922192 L -0.38739341639657987 -0.9796893720378369 L -0.21242222444347994 -1.0659756150367534 L -0.017749605782193895 -1.0787351325791246 L 0.16698729810778049 -1.0160254037844387 L 0.1669872981077806 -1.0160254037844385 L 0.1669872981077806 -1.0160254037844385 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M 3.0999999999999996 -0.9 L 5.1 -0.9 L 5.1 -0.9 L 5.1 -0.9 L 5.1 1.1 L 5.1 1.1 L 5.1 1.1 L 3.0999999999999996 1.1 L 3.0999999999999996 1.1 L 3.0999999999999996 1.1 L 3.0999999999999996 -0.9 L 3.0999999999999996 -0.9 L 3.0999999999999996 -0.9 L 3.0999999999999996 -0.9 Z" fill="none" stroke="#000000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="matrix(1,0,0,1,0,0)"><path d="M -5.9 -4.9 L 6.1 -4.9 L 6.1 5.1 L -5.9 5.1 L -5.9 -4.9 L -5.9 -4.9 Z" fill="none" stroke="#FF0000" stroke-width="0.1" stroke-linecap="round" stroke-linejoin="round"/></g></g>
7
7
  </g>
8
8
  </svg>
@@ -35,7 +35,7 @@ const circuitJson: CircuitJson = [
35
35
  test("renders a circle smt pad", async () => {
36
36
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
37
37
 
38
- const project = convertCircuitJsonToLbrn(circuitJson)
38
+ const project = await convertCircuitJsonToLbrn(circuitJson)
39
39
 
40
40
  const lbrnSvg = await generateLightBurnSvg(project)
41
41
 
@@ -37,7 +37,7 @@ const circuitJson: CircuitJson = [
37
37
  test("renders a pill smt pad", async () => {
38
38
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
39
39
 
40
- const project = convertCircuitJsonToLbrn(circuitJson)
40
+ const project = await convertCircuitJsonToLbrn(circuitJson)
41
41
 
42
42
  const lbrnSvg = await generateLightBurnSvg(project)
43
43
 
@@ -41,7 +41,7 @@ const circuitJson: CircuitJson = [
41
41
  test("renders a polygon smt pad", async () => {
42
42
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
43
43
 
44
- const project = convertCircuitJsonToLbrn(circuitJson)
44
+ const project = await convertCircuitJsonToLbrn(circuitJson)
45
45
 
46
46
  const lbrnSvg = await generateLightBurnSvg(project)
47
47
 
@@ -38,7 +38,7 @@ const circuitJson: CircuitJson = [
38
38
  test("renders a rotated pill smt pad", async () => {
39
39
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
40
40
 
41
- const project = convertCircuitJsonToLbrn(circuitJson)
41
+ const project = await convertCircuitJsonToLbrn(circuitJson)
42
42
 
43
43
  const lbrnSvg = await generateLightBurnSvg(project)
44
44
 
@@ -61,7 +61,7 @@ const circuitJson: CircuitJson = [
61
61
  test("renders a rotated rect smt pad", async () => {
62
62
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
63
63
 
64
- const project = convertCircuitJsonToLbrn(circuitJson)
64
+ const project = await convertCircuitJsonToLbrn(circuitJson)
65
65
 
66
66
  const lbrnSvg = await generateLightBurnSvg(project)
67
67
 
@@ -31,7 +31,7 @@ const circuitJson: CircuitJson = [
31
31
  test("board outline does not appear in soldermask cuts", async () => {
32
32
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
33
33
 
34
- const project = convertCircuitJsonToLbrn(circuitJson, {
34
+ const project = await convertCircuitJsonToLbrn(circuitJson, {
35
35
  includeCopper: false,
36
36
  includeSoldermask: true,
37
37
  })
@@ -92,7 +92,7 @@ const circuitJson: CircuitJson = [
92
92
  test("creates board outline cut with through-board setting", async () => {
93
93
  const pcbSvg = await convertCircuitJsonToPcbSvg(circuitJson)
94
94
 
95
- const project = convertCircuitJsonToLbrn(circuitJson)
95
+ const project = await convertCircuitJsonToLbrn(circuitJson)
96
96
 
97
97
  const lbrnSvg = await generateLightBurnSvg(project)
98
98