circuit-json-to-lbrn 0.0.36 → 0.0.37

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/dist/index.js CHANGED
@@ -1860,16 +1860,6 @@ var addPcbBoard = (board, ctx) => {
1860
1860
  })
1861
1861
  );
1862
1862
  }
1863
- if (includeSoldermask) {
1864
- project.children.push(
1865
- new ShapePath14({
1866
- cutIndex: soldermaskCutSetting.index,
1867
- verts,
1868
- prims,
1869
- isClosed: false
1870
- })
1871
- );
1872
- }
1873
1863
  };
1874
1864
 
1875
1865
  // lib/index.ts
@@ -56,14 +56,4 @@ export const addPcbBoard = (board: PcbBoard, ctx: ConvertContext) => {
56
56
  }),
57
57
  )
58
58
  }
59
- if (includeSoldermask) {
60
- project.children.push(
61
- new ShapePath({
62
- cutIndex: soldermaskCutSetting.index,
63
- verts,
64
- prims,
65
- isClosed: false,
66
- }),
67
- )
68
- }
69
59
  }
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.36",
4
+ "version": "0.0.37",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "bun run site/index.html",
@@ -0,0 +1,8 @@
1
+ <svg width="800" height="1400" viewBox="0 0 800 1400" xmlns="http://www.w3.org/2000/svg">
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="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
+ </g>
5
+ <g transform="translate(0, 600) scale(36.199095022624434, 36.199095022624434) translate(10, 10)">
6
+ <rect x="-10" y="-10" width="22.1" height="22.1" fill="white"/><g transform="matrix(1 0 0 -1 0 2.0999999999999996)"><g transform="matrix(1,0,0,1,0,0)"><clipPath id="clip-1767470315814-w2ylbxf1o__stack1"><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"/></clipPath><g clip-path="url(#clip-1767470315814-w2ylbxf1o__stack1)"><line x1="1.8819090885900998" y1="0.10000000000000009" x2="2.1" y2="0.3180909114099004" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.6273506473629429" y1="0.10000000000000009" x2="2.1" y2="0.5726493526370571" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.3727922061357856" y1="0.10000000000000009" x2="2.1" y2="0.8272077938642143" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.1182337649086285" y1="0.10000000000000009" x2="2.1" y2="1.0817662350913715" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.8636753236814712" y1="0.10000000000000009" x2="2.1" y2="1.3363246763185288" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.6091168824543141" y1="0.10000000000000009" x2="2.1" y2="1.5908831175456861" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.3545584412271572" y1="0.10000000000000009" x2="2.1" y2="1.8454415587728423" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="0.10000000000000031" x2="2.1" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="0.3545584412271576" x2="1.8454415587728428" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="0.6091168824543145" x2="1.590883117545686" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="0.8636753236814715" x2="1.336324676318529" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="1.1182337649086287" x2="1.0817662350913717" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="1.3727922061357856" x2="0.8272077938642147" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="1.6273506473629427" x2="0.5726493526370575" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.10000000000000009" y1="1.8819090885901" x2="0.3180909114099002" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="1.8819090885900998" x2="1.8819090885900998" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="1.6273506473629427" x2="1.6273506473629429" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="1.3727922061357856" x2="1.3727922061357858" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="1.1182337649086282" x2="1.1182337649086285" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="0.8636753236814709" x2="0.8636753236814714" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="0.6091168824543141" x2="0.6091168824543147" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.1" y1="0.354558441227157" x2="0.3545584412271574" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="2.0999999999999996" y1="0.10000000000000009" x2="0.10000000000000031" y2="2.1" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.8454415587728425" y1="0.10000000000000009" x2="0.10000000000000009" y2="1.8454415587728428" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.590883117545686" y1="0.10000000000000009" x2="0.10000000000000009" y2="1.5908831175456861" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.3363246763185288" y1="0.10000000000000009" x2="0.10000000000000009" y2="1.336324676318529" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="1.0817662350913717" y1="0.10000000000000009" x2="0.10000000000000009" y2="1.081766235091372" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.8272077938642146" y1="0.10000000000000009" x2="0.10000000000000009" y2="0.8272077938642147" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.5726493526370573" y1="0.10000000000000009" x2="0.10000000000000009" y2="0.5726493526370574" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/><line x1="0.3180909114099002" y1="0.10000000000000009" x2="0.10000000000000009" y2="0.31809091140990026" stroke="#00FF00" stroke-width="0.1" stroke-opacity="0.8"/></g><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="#00FF00" stroke-width="0.1"/></g></g>
7
+ </g>
8
+ </svg>