breadkit 0.1.0
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +16 -0
- data/SECURITY.md +5 -0
- data/data/boards/full.yml +18 -0
- data/data/boards/half.yml +17 -0
- data/data/boards/mini.yml +8 -0
- data/data/parts/2n3906.yml +10 -0
- data/data/parts/arduino_uno.yml +34 -0
- data/data/parts/bc547.yml +10 -0
- data/data/parts/bc557.yml +10 -0
- data/data/parts/capacitor.yml +7 -0
- data/data/parts/diode.yml +8 -0
- data/data/parts/electrolytic.yml +8 -0
- data/data/parts/led.yml +9 -0
- data/data/parts/ne555.yml +16 -0
- data/data/parts/pot.yml +12 -0
- data/data/parts/resistor.yml +7 -0
- data/data/parts/tact_switch_6mm.yml +19 -0
- data/data/parts/transistor.yml +10 -0
- data/docs/assets/01_led_button.svg +12 -0
- data/docs/dsl.md +62 -0
- data/exe/breadkit +5 -0
- data/lib/breadkit/analysis.rb +382 -0
- data/lib/breadkit/board.rb +163 -0
- data/lib/breadkit/cli.rb +61 -0
- data/lib/breadkit/dsl.rb +182 -0
- data/lib/breadkit/hole_id.rb +46 -0
- data/lib/breadkit/ir.rb +215 -0
- data/lib/breadkit/model.rb +31 -0
- data/lib/breadkit/part_library.rb +125 -0
- data/lib/breadkit/resolver.rb +449 -0
- data/lib/breadkit/value.rb +50 -0
- data/lib/breadkit/version.rb +5 -0
- data/lib/breadkit.rb +26 -0
- data/package-lock.json +1172 -0
- data/package.json +12 -0
- data/schema/ir-v1.json +128 -0
- data/schema/part-v1.json +48 -0
- data/sig/breadkit.rbs +180 -0
- data/site/assets/01_led_button.svg +14 -0
- data/site/assets/03_arduino_blink.svg +14 -0
- data/site/favicon.svg +7 -0
- data/site/guide/components/index.html +113 -0
- data/site/guide/dsl/index.html +132 -0
- data/site/guide/index.html +163 -0
- data/site/index.html +95 -0
- data/site/styles.css +14 -0
- metadata +94 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 233212f063c6709cfaa93b8243125e71a80fd0bfb75b1904e4b989b40cd68c0a
|
|
4
|
+
data.tar.gz: e665337ec30e9f01baca29c27d66ab819d4c398533cb97d3d04d4c5a7edbeae6
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0d0bb60ddd1caba719db069e196aee4babb237b534451276763ca04c5f3c40534ebb17b8727bc7b95b0bdabcbaad44c462d8b20d8331e8f835c65b65e5650518
|
|
7
|
+
data.tar.gz: 313859b4d73d837d2b734ca2bbc613c263d38efb40ac5b4ec8e6c058863aff52e3a86b1d6f7bbda37062d5452b308ec55783896fbfa6e9561687060733510145
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Yudai Takada
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# breadkit
|
|
2
|
+
|
|
3
|
+
`breadkit` provides the Ruby DSL, board and part definitions, connectivity analysis, and JSON IR used by [`breadkit-render`](https://github.com/breadkit/breadkit-render) and [`breadkit-lint`](https://github.com/breadkit/breadkit-lint).
|
|
4
|
+
|
|
5
|
+
Project site: https://breadkit.github.io/breadkit/
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
gem install breadkit
|
|
9
|
+
breadkit nets circuit.bk.rb
|
|
10
|
+
breadkit ir circuit.bk.rb > circuit.json
|
|
11
|
+
breadkit parts
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Ruby DSL files execute as code. Load only trusted files; use IR JSON for data-only input.
|
|
15
|
+
|
|
16
|
+
See the [user guide](https://breadkit.github.io/breadkit/guide/), [component catalog](https://breadkit.github.io/breadkit/guide/components/), [DSL reference](https://breadkit.github.io/breadkit/guide/dsl/), and [project design](docs/DESIGN.md).
|
data/SECURITY.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Security policy
|
|
2
|
+
|
|
3
|
+
DSL files are executable Ruby. Do not process files from untrusted sources; use IR JSON for data-only input.
|
|
4
|
+
|
|
5
|
+
Please report suspected vulnerabilities privately through GitHub's Security Advisories feature. Do not include exploit details in a public issue.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
id: full
|
|
2
|
+
name: Full-size breadboard (830 tie points)
|
|
3
|
+
terminal:
|
|
4
|
+
columns: 63
|
|
5
|
+
rows: [a, b, c, d, e, f, g, h, i, j]
|
|
6
|
+
groups: [[a, b, c, d, e], [f, g, h, i, j]]
|
|
7
|
+
ravine_between: [e, f]
|
|
8
|
+
rails:
|
|
9
|
+
- {id: "T+", side: top, order: 0}
|
|
10
|
+
- {id: "T-", side: top, order: 1}
|
|
11
|
+
- {id: "B+", side: bottom, order: 1}
|
|
12
|
+
- {id: "B-", side: bottom, order: 0}
|
|
13
|
+
rail_layout:
|
|
14
|
+
holes: 50
|
|
15
|
+
group_size: 5
|
|
16
|
+
start_column: 3
|
|
17
|
+
segments: [[1, 50]]
|
|
18
|
+
split_segments: [[1, 25], [26, 50]]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
id: half
|
|
2
|
+
name: Half-size breadboard (400 tie points)
|
|
3
|
+
terminal:
|
|
4
|
+
columns: 30
|
|
5
|
+
rows: [a, b, c, d, e, f, g, h, i, j]
|
|
6
|
+
groups: [[a, b, c, d, e], [f, g, h, i, j]]
|
|
7
|
+
ravine_between: [e, f]
|
|
8
|
+
rails:
|
|
9
|
+
- {id: "T+", side: top, order: 0}
|
|
10
|
+
- {id: "T-", side: top, order: 1}
|
|
11
|
+
- {id: "B+", side: bottom, order: 1}
|
|
12
|
+
- {id: "B-", side: bottom, order: 0}
|
|
13
|
+
rail_layout:
|
|
14
|
+
holes: 25
|
|
15
|
+
group_size: 5
|
|
16
|
+
start_column: 2
|
|
17
|
+
segments: [[1, 25]]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Pin order: https://www.onsemi.com/pdf/datasheet/2n3906-d.pdf
|
|
2
|
+
id: 2n3906
|
|
3
|
+
category: transistor
|
|
4
|
+
transistor_polarity: PNP
|
|
5
|
+
placement: leads
|
|
6
|
+
pins:
|
|
7
|
+
- {num: 1, name: emitter, aliases: [e]}
|
|
8
|
+
- {num: 2, name: base, aliases: [b]}
|
|
9
|
+
- {num: 3, name: collector, aliases: [c]}
|
|
10
|
+
render: {shape: generic}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
id: arduino_uno
|
|
2
|
+
category: offboard
|
|
3
|
+
placement: offboard
|
|
4
|
+
pins:
|
|
5
|
+
- {num: 1, name: D0}
|
|
6
|
+
- {num: 2, name: D1}
|
|
7
|
+
- {num: 3, name: D2}
|
|
8
|
+
- {num: 4, name: D3}
|
|
9
|
+
- {num: 5, name: D4}
|
|
10
|
+
- {num: 6, name: D5}
|
|
11
|
+
- {num: 7, name: D6}
|
|
12
|
+
- {num: 8, name: D7}
|
|
13
|
+
- {num: 9, name: D8}
|
|
14
|
+
- {num: 10, name: D9}
|
|
15
|
+
- {num: 11, name: D10}
|
|
16
|
+
- {num: 12, name: D11}
|
|
17
|
+
- {num: 13, name: D12}
|
|
18
|
+
- {num: 14, name: D13}
|
|
19
|
+
- {num: 15, name: GND, role: ground}
|
|
20
|
+
- {num: 16, name: 5V, role: power}
|
|
21
|
+
- {num: 17, name: A0}
|
|
22
|
+
- {num: 18, name: A1}
|
|
23
|
+
- {num: 19, name: A2}
|
|
24
|
+
- {num: 20, name: A3}
|
|
25
|
+
- {num: 21, name: A4}
|
|
26
|
+
- {num: 22, name: A5}
|
|
27
|
+
- {num: 23, name: 3V3, role: power}
|
|
28
|
+
- {num: 24, name: VIN, role: power}
|
|
29
|
+
- {num: 25, name: GND2, role: ground}
|
|
30
|
+
- {num: 26, name: GND3, role: ground}
|
|
31
|
+
- {num: 27, name: RESET}
|
|
32
|
+
- {num: 28, name: AREF}
|
|
33
|
+
internal: [[15, 25], [15, 26]]
|
|
34
|
+
render: {shape: offboard, label: Arduino Uno}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Pin order: https://www.onsemi.com/pdf/datasheet/bc546-d.pdf
|
|
2
|
+
id: bc547
|
|
3
|
+
category: transistor
|
|
4
|
+
transistor_polarity: NPN
|
|
5
|
+
placement: leads
|
|
6
|
+
pins:
|
|
7
|
+
- {num: 1, name: collector, aliases: [c]}
|
|
8
|
+
- {num: 2, name: base, aliases: [b]}
|
|
9
|
+
- {num: 3, name: emitter, aliases: [e]}
|
|
10
|
+
render: {shape: generic}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Pin order: https://www.onsemi.com/download/data-sheet/pdf/bc556b-d.pdf
|
|
2
|
+
id: bc557
|
|
3
|
+
category: transistor
|
|
4
|
+
transistor_polarity: PNP
|
|
5
|
+
placement: leads
|
|
6
|
+
pins:
|
|
7
|
+
- {num: 1, name: collector, aliases: [c]}
|
|
8
|
+
- {num: 2, name: base, aliases: [b]}
|
|
9
|
+
- {num: 3, name: emitter, aliases: [e]}
|
|
10
|
+
render: {shape: generic}
|
data/data/parts/led.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
id: ne555
|
|
2
|
+
aliases: [NE555, "555"]
|
|
3
|
+
category: ic
|
|
4
|
+
placement: dip
|
|
5
|
+
package: {pins: 8}
|
|
6
|
+
pins:
|
|
7
|
+
- {num: 1, name: GND, role: ground}
|
|
8
|
+
- {num: 2, name: TRIG}
|
|
9
|
+
- {num: 3, name: OUT}
|
|
10
|
+
- {num: 4, name: RESET}
|
|
11
|
+
- {num: 5, name: CTRL}
|
|
12
|
+
- {num: 6, name: THR}
|
|
13
|
+
- {num: 7, name: DIS}
|
|
14
|
+
- {num: 8, name: VCC, role: power}
|
|
15
|
+
supply_range: [4.5, 16.0]
|
|
16
|
+
render: {shape: dip, label: NE555}
|
data/data/parts/pot.yml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
id: tact_switch_6mm
|
|
2
|
+
aliases: [button]
|
|
3
|
+
category: switch
|
|
4
|
+
placement: footprint
|
|
5
|
+
straddle: true
|
|
6
|
+
pins:
|
|
7
|
+
- {num: 1, name: "1"}
|
|
8
|
+
- {num: 2, name: "2"}
|
|
9
|
+
- {num: 3, name: "3"}
|
|
10
|
+
- {num: 4, name: "4"}
|
|
11
|
+
footprint:
|
|
12
|
+
"1": [0, 0]
|
|
13
|
+
"2": [0, 3]
|
|
14
|
+
"3": [2, 0]
|
|
15
|
+
"4": [2, 3]
|
|
16
|
+
internal: [[1, 2], [3, 4]]
|
|
17
|
+
switch: [[1, 3]]
|
|
18
|
+
same_strip_ok: [[1, 2], [3, 4]]
|
|
19
|
+
render: {shape: tact_switch}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
id: transistor
|
|
2
|
+
aliases: [2N3904]
|
|
3
|
+
category: transistor
|
|
4
|
+
transistor_polarity: NPN
|
|
5
|
+
placement: leads
|
|
6
|
+
pins:
|
|
7
|
+
- {num: 1, name: emitter, aliases: [e]}
|
|
8
|
+
- {num: 2, name: base, aliases: [b]}
|
|
9
|
+
- {num: 3, name: collector, aliases: [c]}
|
|
10
|
+
render: {shape: generic}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="330.00" height="185.00" viewBox="-15.00 -30.00 330.00 185.00" font-family="Helvetica, Arial, 'Noto Sans JP', sans-serif" fill="#222" role="img">
|
|
3
|
+
<title>押しボタンで LED を点灯</title>
|
|
4
|
+
<desc>Breadboard wiring diagram generated by Breadkit.</desc>
|
|
5
|
+
<g id="board"><rect x="-8.00" y="-36.00" width="450.00" height="170.00" rx="12" fill="#dce9ce" stroke="#84917f"/><rect x="-5.00" y="46.00" width="390.00" height="8.00" fill="#b8c6b4"/><line x1="10.00" y1="-20.00" x2="290.00" y2="-20.00" stroke="#d34c49" stroke-width="2.40"/><line x1="10.00" y1="-30.00" x2="290.00" y2="-30.00" stroke="#477fb5" stroke-width="2.40"/><line x1="10.00" y1="120.00" x2="290.00" y2="120.00" stroke="#d34c49" stroke-width="2.40"/><line x1="10.00" y1="110.00" x2="290.00" y2="110.00" stroke="#477fb5" stroke-width="2.40"/></g>
|
|
6
|
+
<g id="holes"><circle cx="0.00" cy="90.00" r="1.25" fill="#879381" data-hole="a1" opacity="0.68"/><circle cx="0.00" cy="80.00" r="1.25" fill="#879381" data-hole="b1" opacity="0.68"/><circle cx="0.00" cy="70.00" r="1.25" fill="#879381" data-hole="c1" opacity="0.68"/><circle cx="0.00" cy="60.00" r="1.25" fill="#879381" data-hole="d1" opacity="0.68"/><circle cx="0.00" cy="50.00" r="1.25" fill="#879381" data-hole="e1" opacity="0.68"/><circle cx="0.00" cy="40.00" r="1.25" fill="#879381" data-hole="f1" opacity="0.68"/><circle cx="0.00" cy="30.00" r="1.25" fill="#879381" data-hole="g1" opacity="0.68"/><circle cx="0.00" cy="20.00" r="1.25" fill="#879381" data-hole="h1" opacity="0.68"/><circle cx="0.00" cy="10.00" r="1.25" fill="#879381" data-hole="i1" opacity="0.68"/><circle cx="0.00" cy="0.00" r="1.25" fill="#879381" data-hole="j1" opacity="0.68"/><circle cx="10.00" cy="90.00" r="1.25" fill="#879381" data-hole="a2" opacity="0.68"/><circle cx="10.00" cy="80.00" r="1.25" fill="#879381" data-hole="b2" opacity="0.68"/><circle cx="10.00" cy="70.00" r="1.25" fill="#879381" data-hole="c2" opacity="0.68"/><circle cx="10.00" cy="60.00" r="1.25" fill="#879381" data-hole="d2" opacity="0.68"/><circle cx="10.00" cy="50.00" r="1.25" fill="#879381" data-hole="e2" opacity="0.68"/><circle cx="10.00" cy="40.00" r="1.25" fill="#879381" data-hole="f2" opacity="0.68"/><circle cx="10.00" cy="30.00" r="1.25" fill="#879381" data-hole="g2" opacity="0.68"/><circle cx="10.00" cy="20.00" r="1.25" fill="#879381" data-hole="h2" opacity="0.68"/><circle cx="10.00" cy="10.00" r="1.25" fill="#879381" data-hole="i2" opacity="0.68"/><circle cx="10.00" cy="0.00" r="1.25" fill="#879381" data-hole="j2" opacity="0.68"/><circle cx="20.00" cy="90.00" r="1.25" fill="#879381" data-hole="a3" opacity="0.68"/><circle cx="20.00" cy="80.00" r="1.25" fill="#879381" data-hole="b3" opacity="0.68"/><circle cx="20.00" cy="70.00" r="1.25" fill="#879381" data-hole="c3" opacity="0.68"/><circle cx="20.00" cy="60.00" r="1.25" fill="#879381" data-hole="d3" opacity="0.68"/><circle cx="20.00" cy="50.00" r="1.25" fill="#879381" data-hole="e3" opacity="0.68"/><circle cx="20.00" cy="40.00" r="1.25" fill="#879381" data-hole="f3" opacity="0.68"/><circle cx="20.00" cy="30.00" r="1.25" fill="#879381" data-hole="g3" opacity="0.68"/><circle cx="20.00" cy="20.00" r="1.25" fill="#879381" data-hole="h3" opacity="0.68"/><circle cx="20.00" cy="10.00" r="1.25" fill="#879381" data-hole="i3" opacity="0.68"/><circle cx="20.00" cy="0.00" r="1.25" fill="#879381" data-hole="j3" opacity="0.68"/><circle cx="30.00" cy="90.00" r="1.25" fill="#879381" data-hole="a4" opacity="0.68"/><circle cx="30.00" cy="80.00" r="1.25" fill="#879381" data-hole="b4" opacity="0.68"/><circle cx="30.00" cy="70.00" r="1.25" fill="#879381" data-hole="c4" opacity="0.68"/><circle cx="30.00" cy="60.00" r="1.25" fill="#879381" data-hole="d4" opacity="0.68"/><circle cx="30.00" cy="50.00" r="1.25" fill="#879381" data-hole="e4" opacity="0.68"/><circle cx="30.00" cy="40.00" r="1.25" fill="#879381" data-hole="f4" opacity="0.68"/><circle cx="30.00" cy="30.00" r="1.25" fill="#879381" data-hole="g4" opacity="0.68"/><circle cx="30.00" cy="20.00" r="1.25" fill="#879381" data-hole="h4" opacity="0.68"/><circle cx="30.00" cy="10.00" r="1.25" fill="#879381" data-hole="i4" opacity="0.68"/><circle cx="30.00" cy="0.00" r="1.25" fill="#879381" data-hole="j4" opacity="0.68"/><circle cx="40.00" cy="90.00" r="1.25" fill="#879381" data-hole="a5" opacity="0.68"/><circle cx="40.00" cy="80.00" r="1.25" fill="#879381" data-hole="b5" opacity="0.68"/><circle cx="40.00" cy="70.00" r="1.25" fill="#879381" data-hole="c5" opacity="0.68"/><circle cx="40.00" cy="60.00" r="1.25" fill="#879381" data-hole="d5" opacity="0.68"/><circle cx="40.00" cy="50.00" r="1.25" fill="#879381" data-hole="e5" opacity="0.68"/><circle cx="40.00" cy="40.00" r="1.25" fill="#879381" data-hole="f5" opacity="0.68"/><circle cx="40.00" cy="30.00" r="1.25" fill="#879381" data-hole="g5" opacity="0.68"/><circle cx="40.00" cy="20.00" r="1.25" fill="#879381" data-hole="h5" opacity="0.68"/><circle cx="40.00" cy="10.00" r="1.25" fill="#879381" data-hole="i5" opacity="0.68"/><circle cx="40.00" cy="0.00" r="1.25" fill="#879381" data-hole="j5" opacity="0.68"/><circle cx="50.00" cy="90.00" r="1.25" fill="#879381" data-hole="a6" opacity="0.68"/><circle cx="50.00" cy="80.00" r="1.25" fill="#879381" data-hole="b6" opacity="0.68"/><circle cx="50.00" cy="70.00" r="1.25" fill="#879381" data-hole="c6" opacity="0.68"/><circle cx="50.00" cy="60.00" r="1.25" fill="#879381" data-hole="d6" opacity="0.68"/><circle cx="50.00" cy="50.00" r="1.25" fill="#879381" data-hole="e6" opacity="0.68"/><circle cx="50.00" cy="40.00" r="1.25" fill="#879381" data-hole="f6" opacity="0.68"/><circle cx="50.00" cy="30.00" r="1.25" fill="#879381" data-hole="g6" opacity="0.68"/><circle cx="50.00" cy="20.00" r="1.25" fill="#879381" data-hole="h6" opacity="0.68"/><circle cx="50.00" cy="10.00" r="1.25" fill="#879381" data-hole="i6" opacity="0.68"/><circle cx="50.00" cy="0.00" r="1.25" fill="#879381" data-hole="j6" opacity="0.68"/><circle cx="60.00" cy="90.00" r="1.25" fill="#879381" data-hole="a7" opacity="0.68"/><circle cx="60.00" cy="80.00" r="1.25" fill="#879381" data-hole="b7" opacity="0.68"/><circle cx="60.00" cy="70.00" r="1.25" fill="#879381" data-hole="c7" opacity="0.68"/><circle cx="60.00" cy="60.00" r="1.25" fill="#879381" data-hole="d7" opacity="0.68"/><circle cx="60.00" cy="50.00" r="1.25" fill="#879381" data-hole="e7" opacity="0.68"/><circle cx="60.00" cy="40.00" r="1.25" fill="#879381" data-hole="f7" opacity="0.68"/><circle cx="60.00" cy="30.00" r="1.25" fill="#879381" data-hole="g7" opacity="0.68"/><circle cx="60.00" cy="20.00" r="1.25" fill="#879381" data-hole="h7" opacity="0.68"/><circle cx="60.00" cy="10.00" r="1.25" fill="#879381" data-hole="i7" opacity="0.68"/><circle cx="60.00" cy="0.00" r="1.25" fill="#879381" data-hole="j7" opacity="0.68"/><circle cx="70.00" cy="90.00" r="1.25" fill="#879381" data-hole="a8" opacity="0.68"/><circle cx="70.00" cy="80.00" r="1.25" fill="#879381" data-hole="b8" opacity="0.68"/><circle cx="70.00" cy="70.00" r="1.25" fill="#879381" data-hole="c8" opacity="0.68"/><circle cx="70.00" cy="60.00" r="1.25" fill="#879381" data-hole="d8" opacity="0.68"/><circle cx="70.00" cy="50.00" r="1.25" fill="#879381" data-hole="e8" opacity="0.68"/><circle cx="70.00" cy="40.00" r="1.25" fill="#879381" data-hole="f8" opacity="0.68"/><circle cx="70.00" cy="30.00" r="1.25" fill="#879381" data-hole="g8" opacity="0.68"/><circle cx="70.00" cy="20.00" r="1.25" fill="#879381" data-hole="h8" opacity="0.68"/><circle cx="70.00" cy="10.00" r="1.25" fill="#879381" data-hole="i8" opacity="0.68"/><circle cx="70.00" cy="0.00" r="1.25" fill="#879381" data-hole="j8" opacity="0.68"/><circle cx="80.00" cy="90.00" r="1.25" fill="#879381" data-hole="a9" opacity="0.68"/><circle cx="80.00" cy="80.00" r="1.25" fill="#879381" data-hole="b9" opacity="0.68"/><circle cx="80.00" cy="70.00" r="1.25" fill="#879381" data-hole="c9" opacity="0.68"/><circle cx="80.00" cy="60.00" r="1.25" fill="#879381" data-hole="d9" opacity="0.68"/><circle cx="80.00" cy="50.00" r="1.25" fill="#879381" data-hole="e9" opacity="0.68"/><circle cx="80.00" cy="40.00" r="1.25" fill="#879381" data-hole="f9" opacity="0.68"/><circle cx="80.00" cy="30.00" r="1.25" fill="#879381" data-hole="g9" opacity="0.68"/><circle cx="80.00" cy="20.00" r="1.25" fill="#879381" data-hole="h9" opacity="0.68"/><circle cx="80.00" cy="10.00" r="1.25" fill="#879381" data-hole="i9" opacity="0.68"/><circle cx="80.00" cy="0.00" r="1.25" fill="#879381" data-hole="j9" opacity="0.68"/><circle cx="90.00" cy="90.00" r="1.70" fill="#424b43" data-hole="a10" opacity="1"/><circle cx="90.00" cy="80.00" r="1.70" fill="#424b43" data-hole="b10" opacity="1"/><circle cx="90.00" cy="70.00" r="1.70" fill="#424b43" data-hole="c10" opacity="1"/><circle cx="90.00" cy="60.00" r="1.70" fill="#424b43" data-hole="d10" opacity="1"/><circle cx="90.00" cy="50.00" r="1.70" fill="#424b43" data-hole="e10" opacity="1"/><circle cx="90.00" cy="40.00" r="1.70" fill="#424b43" data-hole="f10" opacity="1"/><circle cx="90.00" cy="30.00" r="1.70" fill="#424b43" data-hole="g10" opacity="1"/><circle cx="90.00" cy="20.00" r="1.70" fill="#424b43" data-hole="h10" opacity="1"/><circle cx="90.00" cy="10.00" r="1.70" fill="#424b43" data-hole="i10" opacity="1"/><circle cx="90.00" cy="0.00" r="1.70" fill="#424b43" data-hole="j10" opacity="1"/><circle cx="100.00" cy="90.00" r="1.25" fill="#879381" data-hole="a11" opacity="0.68"/><circle cx="100.00" cy="80.00" r="1.25" fill="#879381" data-hole="b11" opacity="0.68"/><circle cx="100.00" cy="70.00" r="1.25" fill="#879381" data-hole="c11" opacity="0.68"/><circle cx="100.00" cy="60.00" r="1.25" fill="#879381" data-hole="d11" opacity="0.68"/><circle cx="100.00" cy="50.00" r="1.25" fill="#879381" data-hole="e11" opacity="0.68"/><circle cx="100.00" cy="40.00" r="1.25" fill="#879381" data-hole="f11" opacity="0.68"/><circle cx="100.00" cy="30.00" r="1.25" fill="#879381" data-hole="g11" opacity="0.68"/><circle cx="100.00" cy="20.00" r="1.25" fill="#879381" data-hole="h11" opacity="0.68"/><circle cx="100.00" cy="10.00" r="1.25" fill="#879381" data-hole="i11" opacity="0.68"/><circle cx="100.00" cy="0.00" r="1.25" fill="#879381" data-hole="j11" opacity="0.68"/><circle cx="110.00" cy="90.00" r="1.70" fill="#424b43" data-hole="a12" opacity="1"/><circle cx="110.00" cy="80.00" r="1.70" fill="#424b43" data-hole="b12" opacity="1"/><circle cx="110.00" cy="70.00" r="1.70" fill="#424b43" data-hole="c12" opacity="1"/><circle cx="110.00" cy="60.00" r="1.70" fill="#424b43" data-hole="d12" opacity="1"/><circle cx="110.00" cy="50.00" r="1.70" fill="#424b43" data-hole="e12" opacity="1"/><circle cx="110.00" cy="40.00" r="1.70" fill="#424b43" data-hole="f12" opacity="1"/><circle cx="110.00" cy="30.00" r="1.70" fill="#424b43" data-hole="g12" opacity="1"/><circle cx="110.00" cy="20.00" r="1.70" fill="#424b43" data-hole="h12" opacity="1"/><circle cx="110.00" cy="10.00" r="1.70" fill="#424b43" data-hole="i12" opacity="1"/><circle cx="110.00" cy="0.00" r="1.70" fill="#424b43" data-hole="j12" opacity="1"/><circle cx="120.00" cy="90.00" r="1.25" fill="#879381" data-hole="a13" opacity="0.68"/><circle cx="120.00" cy="80.00" r="1.25" fill="#879381" data-hole="b13" opacity="0.68"/><circle cx="120.00" cy="70.00" r="1.25" fill="#879381" data-hole="c13" opacity="0.68"/><circle cx="120.00" cy="60.00" r="1.25" fill="#879381" data-hole="d13" opacity="0.68"/><circle cx="120.00" cy="50.00" r="1.25" fill="#879381" data-hole="e13" opacity="0.68"/><circle cx="120.00" cy="40.00" r="1.25" fill="#879381" data-hole="f13" opacity="0.68"/><circle cx="120.00" cy="30.00" r="1.25" fill="#879381" data-hole="g13" opacity="0.68"/><circle cx="120.00" cy="20.00" r="1.25" fill="#879381" data-hole="h13" opacity="0.68"/><circle cx="120.00" cy="10.00" r="1.25" fill="#879381" data-hole="i13" opacity="0.68"/><circle cx="120.00" cy="0.00" r="1.25" fill="#879381" data-hole="j13" opacity="0.68"/><circle cx="130.00" cy="90.00" r="1.25" fill="#879381" data-hole="a14" opacity="0.68"/><circle cx="130.00" cy="80.00" r="1.25" fill="#879381" data-hole="b14" opacity="0.68"/><circle cx="130.00" cy="70.00" r="1.25" fill="#879381" data-hole="c14" opacity="0.68"/><circle cx="130.00" cy="60.00" r="1.25" fill="#879381" data-hole="d14" opacity="0.68"/><circle cx="130.00" cy="50.00" r="1.25" fill="#879381" data-hole="e14" opacity="0.68"/><circle cx="130.00" cy="40.00" r="1.25" fill="#879381" data-hole="f14" opacity="0.68"/><circle cx="130.00" cy="30.00" r="1.25" fill="#879381" data-hole="g14" opacity="0.68"/><circle cx="130.00" cy="20.00" r="1.25" fill="#879381" data-hole="h14" opacity="0.68"/><circle cx="130.00" cy="10.00" r="1.25" fill="#879381" data-hole="i14" opacity="0.68"/><circle cx="130.00" cy="0.00" r="1.25" fill="#879381" data-hole="j14" opacity="0.68"/><circle cx="140.00" cy="90.00" r="1.25" fill="#879381" data-hole="a15" opacity="0.68"/><circle cx="140.00" cy="80.00" r="1.25" fill="#879381" data-hole="b15" opacity="0.68"/><circle cx="140.00" cy="70.00" r="1.25" fill="#879381" data-hole="c15" opacity="0.68"/><circle cx="140.00" cy="60.00" r="1.25" fill="#879381" data-hole="d15" opacity="0.68"/><circle cx="140.00" cy="50.00" r="1.25" fill="#879381" data-hole="e15" opacity="0.68"/><circle cx="140.00" cy="40.00" r="1.25" fill="#879381" data-hole="f15" opacity="0.68"/><circle cx="140.00" cy="30.00" r="1.25" fill="#879381" data-hole="g15" opacity="0.68"/><circle cx="140.00" cy="20.00" r="1.25" fill="#879381" data-hole="h15" opacity="0.68"/><circle cx="140.00" cy="10.00" r="1.25" fill="#879381" data-hole="i15" opacity="0.68"/><circle cx="140.00" cy="0.00" r="1.25" fill="#879381" data-hole="j15" opacity="0.68"/><circle cx="150.00" cy="90.00" r="1.70" fill="#424b43" data-hole="a16" opacity="1"/><circle cx="150.00" cy="80.00" r="1.70" fill="#424b43" data-hole="b16" opacity="1"/><circle cx="150.00" cy="70.00" r="1.70" fill="#424b43" data-hole="c16" opacity="1"/><circle cx="150.00" cy="60.00" r="1.70" fill="#424b43" data-hole="d16" opacity="1"/><circle cx="150.00" cy="50.00" r="1.70" fill="#424b43" data-hole="e16" opacity="1"/><circle cx="150.00" cy="40.00" r="1.25" fill="#879381" data-hole="f16" opacity="0.68"/><circle cx="150.00" cy="30.00" r="1.25" fill="#879381" data-hole="g16" opacity="0.68"/><circle cx="150.00" cy="20.00" r="1.25" fill="#879381" data-hole="h16" opacity="0.68"/><circle cx="150.00" cy="10.00" r="1.25" fill="#879381" data-hole="i16" opacity="0.68"/><circle cx="150.00" cy="0.00" r="1.25" fill="#879381" data-hole="j16" opacity="0.68"/><circle cx="160.00" cy="90.00" r="1.70" fill="#424b43" data-hole="a17" opacity="1"/><circle cx="160.00" cy="80.00" r="1.70" fill="#424b43" data-hole="b17" opacity="1"/><circle cx="160.00" cy="70.00" r="1.70" fill="#424b43" data-hole="c17" opacity="1"/><circle cx="160.00" cy="60.00" r="1.70" fill="#424b43" data-hole="d17" opacity="1"/><circle cx="160.00" cy="50.00" r="1.70" fill="#424b43" data-hole="e17" opacity="1"/><circle cx="160.00" cy="40.00" r="1.25" fill="#879381" data-hole="f17" opacity="0.68"/><circle cx="160.00" cy="30.00" r="1.25" fill="#879381" data-hole="g17" opacity="0.68"/><circle cx="160.00" cy="20.00" r="1.25" fill="#879381" data-hole="h17" opacity="0.68"/><circle cx="160.00" cy="10.00" r="1.25" fill="#879381" data-hole="i17" opacity="0.68"/><circle cx="160.00" cy="0.00" r="1.25" fill="#879381" data-hole="j17" opacity="0.68"/><circle cx="170.00" cy="90.00" r="1.25" fill="#879381" data-hole="a18" opacity="0.68"/><circle cx="170.00" cy="80.00" r="1.25" fill="#879381" data-hole="b18" opacity="0.68"/><circle cx="170.00" cy="70.00" r="1.25" fill="#879381" data-hole="c18" opacity="0.68"/><circle cx="170.00" cy="60.00" r="1.25" fill="#879381" data-hole="d18" opacity="0.68"/><circle cx="170.00" cy="50.00" r="1.25" fill="#879381" data-hole="e18" opacity="0.68"/><circle cx="170.00" cy="40.00" r="1.25" fill="#879381" data-hole="f18" opacity="0.68"/><circle cx="170.00" cy="30.00" r="1.25" fill="#879381" data-hole="g18" opacity="0.68"/><circle cx="170.00" cy="20.00" r="1.25" fill="#879381" data-hole="h18" opacity="0.68"/><circle cx="170.00" cy="10.00" r="1.25" fill="#879381" data-hole="i18" opacity="0.68"/><circle cx="170.00" cy="0.00" r="1.25" fill="#879381" data-hole="j18" opacity="0.68"/><circle cx="180.00" cy="90.00" r="1.25" fill="#879381" data-hole="a19" opacity="0.68"/><circle cx="180.00" cy="80.00" r="1.25" fill="#879381" data-hole="b19" opacity="0.68"/><circle cx="180.00" cy="70.00" r="1.25" fill="#879381" data-hole="c19" opacity="0.68"/><circle cx="180.00" cy="60.00" r="1.25" fill="#879381" data-hole="d19" opacity="0.68"/><circle cx="180.00" cy="50.00" r="1.25" fill="#879381" data-hole="e19" opacity="0.68"/><circle cx="180.00" cy="40.00" r="1.25" fill="#879381" data-hole="f19" opacity="0.68"/><circle cx="180.00" cy="30.00" r="1.25" fill="#879381" data-hole="g19" opacity="0.68"/><circle cx="180.00" cy="20.00" r="1.25" fill="#879381" data-hole="h19" opacity="0.68"/><circle cx="180.00" cy="10.00" r="1.25" fill="#879381" data-hole="i19" opacity="0.68"/><circle cx="180.00" cy="0.00" r="1.25" fill="#879381" data-hole="j19" opacity="0.68"/><circle cx="190.00" cy="90.00" r="1.25" fill="#879381" data-hole="a20" opacity="0.68"/><circle cx="190.00" cy="80.00" r="1.25" fill="#879381" data-hole="b20" opacity="0.68"/><circle cx="190.00" cy="70.00" r="1.25" fill="#879381" data-hole="c20" opacity="0.68"/><circle cx="190.00" cy="60.00" r="1.25" fill="#879381" data-hole="d20" opacity="0.68"/><circle cx="190.00" cy="50.00" r="1.25" fill="#879381" data-hole="e20" opacity="0.68"/><circle cx="190.00" cy="40.00" r="1.25" fill="#879381" data-hole="f20" opacity="0.68"/><circle cx="190.00" cy="30.00" r="1.25" fill="#879381" data-hole="g20" opacity="0.68"/><circle cx="190.00" cy="20.00" r="1.25" fill="#879381" data-hole="h20" opacity="0.68"/><circle cx="190.00" cy="10.00" r="1.25" fill="#879381" data-hole="i20" opacity="0.68"/><circle cx="190.00" cy="0.00" r="1.25" fill="#879381" data-hole="j20" opacity="0.68"/><circle cx="200.00" cy="90.00" r="1.25" fill="#879381" data-hole="a21" opacity="0.68"/><circle cx="200.00" cy="80.00" r="1.25" fill="#879381" data-hole="b21" opacity="0.68"/><circle cx="200.00" cy="70.00" r="1.25" fill="#879381" data-hole="c21" opacity="0.68"/><circle cx="200.00" cy="60.00" r="1.25" fill="#879381" data-hole="d21" opacity="0.68"/><circle cx="200.00" cy="50.00" r="1.25" fill="#879381" data-hole="e21" opacity="0.68"/><circle cx="200.00" cy="40.00" r="1.25" fill="#879381" data-hole="f21" opacity="0.68"/><circle cx="200.00" cy="30.00" r="1.25" fill="#879381" data-hole="g21" opacity="0.68"/><circle cx="200.00" cy="20.00" r="1.25" fill="#879381" data-hole="h21" opacity="0.68"/><circle cx="200.00" cy="10.00" r="1.25" fill="#879381" data-hole="i21" opacity="0.68"/><circle cx="200.00" cy="0.00" r="1.25" fill="#879381" data-hole="j21" opacity="0.68"/><circle cx="210.00" cy="90.00" r="1.25" fill="#879381" data-hole="a22" opacity="0.68"/><circle cx="210.00" cy="80.00" r="1.25" fill="#879381" data-hole="b22" opacity="0.68"/><circle cx="210.00" cy="70.00" r="1.25" fill="#879381" data-hole="c22" opacity="0.68"/><circle cx="210.00" cy="60.00" r="1.25" fill="#879381" data-hole="d22" opacity="0.68"/><circle cx="210.00" cy="50.00" r="1.25" fill="#879381" data-hole="e22" opacity="0.68"/><circle cx="210.00" cy="40.00" r="1.25" fill="#879381" data-hole="f22" opacity="0.68"/><circle cx="210.00" cy="30.00" r="1.25" fill="#879381" data-hole="g22" opacity="0.68"/><circle cx="210.00" cy="20.00" r="1.25" fill="#879381" data-hole="h22" opacity="0.68"/><circle cx="210.00" cy="10.00" r="1.25" fill="#879381" data-hole="i22" opacity="0.68"/><circle cx="210.00" cy="0.00" r="1.25" fill="#879381" data-hole="j22" opacity="0.68"/><circle cx="220.00" cy="90.00" r="1.25" fill="#879381" data-hole="a23" opacity="0.68"/><circle cx="220.00" cy="80.00" r="1.25" fill="#879381" data-hole="b23" opacity="0.68"/><circle cx="220.00" cy="70.00" r="1.25" fill="#879381" data-hole="c23" opacity="0.68"/><circle cx="220.00" cy="60.00" r="1.25" fill="#879381" data-hole="d23" opacity="0.68"/><circle cx="220.00" cy="50.00" r="1.25" fill="#879381" data-hole="e23" opacity="0.68"/><circle cx="220.00" cy="40.00" r="1.25" fill="#879381" data-hole="f23" opacity="0.68"/><circle cx="220.00" cy="30.00" r="1.25" fill="#879381" data-hole="g23" opacity="0.68"/><circle cx="220.00" cy="20.00" r="1.25" fill="#879381" data-hole="h23" opacity="0.68"/><circle cx="220.00" cy="10.00" r="1.25" fill="#879381" data-hole="i23" opacity="0.68"/><circle cx="220.00" cy="0.00" r="1.25" fill="#879381" data-hole="j23" opacity="0.68"/><circle cx="230.00" cy="90.00" r="1.25" fill="#879381" data-hole="a24" opacity="0.68"/><circle cx="230.00" cy="80.00" r="1.25" fill="#879381" data-hole="b24" opacity="0.68"/><circle cx="230.00" cy="70.00" r="1.25" fill="#879381" data-hole="c24" opacity="0.68"/><circle cx="230.00" cy="60.00" r="1.25" fill="#879381" data-hole="d24" opacity="0.68"/><circle cx="230.00" cy="50.00" r="1.25" fill="#879381" data-hole="e24" opacity="0.68"/><circle cx="230.00" cy="40.00" r="1.25" fill="#879381" data-hole="f24" opacity="0.68"/><circle cx="230.00" cy="30.00" r="1.25" fill="#879381" data-hole="g24" opacity="0.68"/><circle cx="230.00" cy="20.00" r="1.25" fill="#879381" data-hole="h24" opacity="0.68"/><circle cx="230.00" cy="10.00" r="1.25" fill="#879381" data-hole="i24" opacity="0.68"/><circle cx="230.00" cy="0.00" r="1.25" fill="#879381" data-hole="j24" opacity="0.68"/><circle cx="240.00" cy="90.00" r="1.25" fill="#879381" data-hole="a25" opacity="0.68"/><circle cx="240.00" cy="80.00" r="1.25" fill="#879381" data-hole="b25" opacity="0.68"/><circle cx="240.00" cy="70.00" r="1.25" fill="#879381" data-hole="c25" opacity="0.68"/><circle cx="240.00" cy="60.00" r="1.25" fill="#879381" data-hole="d25" opacity="0.68"/><circle cx="240.00" cy="50.00" r="1.25" fill="#879381" data-hole="e25" opacity="0.68"/><circle cx="240.00" cy="40.00" r="1.25" fill="#879381" data-hole="f25" opacity="0.68"/><circle cx="240.00" cy="30.00" r="1.25" fill="#879381" data-hole="g25" opacity="0.68"/><circle cx="240.00" cy="20.00" r="1.25" fill="#879381" data-hole="h25" opacity="0.68"/><circle cx="240.00" cy="10.00" r="1.25" fill="#879381" data-hole="i25" opacity="0.68"/><circle cx="240.00" cy="0.00" r="1.25" fill="#879381" data-hole="j25" opacity="0.68"/><circle cx="250.00" cy="90.00" r="1.25" fill="#879381" data-hole="a26" opacity="0.68"/><circle cx="250.00" cy="80.00" r="1.25" fill="#879381" data-hole="b26" opacity="0.68"/><circle cx="250.00" cy="70.00" r="1.25" fill="#879381" data-hole="c26" opacity="0.68"/><circle cx="250.00" cy="60.00" r="1.25" fill="#879381" data-hole="d26" opacity="0.68"/><circle cx="250.00" cy="50.00" r="1.25" fill="#879381" data-hole="e26" opacity="0.68"/><circle cx="250.00" cy="40.00" r="1.25" fill="#879381" data-hole="f26" opacity="0.68"/><circle cx="250.00" cy="30.00" r="1.25" fill="#879381" data-hole="g26" opacity="0.68"/><circle cx="250.00" cy="20.00" r="1.25" fill="#879381" data-hole="h26" opacity="0.68"/><circle cx="250.00" cy="10.00" r="1.25" fill="#879381" data-hole="i26" opacity="0.68"/><circle cx="250.00" cy="0.00" r="1.25" fill="#879381" data-hole="j26" opacity="0.68"/><circle cx="260.00" cy="90.00" r="1.25" fill="#879381" data-hole="a27" opacity="0.68"/><circle cx="260.00" cy="80.00" r="1.25" fill="#879381" data-hole="b27" opacity="0.68"/><circle cx="260.00" cy="70.00" r="1.25" fill="#879381" data-hole="c27" opacity="0.68"/><circle cx="260.00" cy="60.00" r="1.25" fill="#879381" data-hole="d27" opacity="0.68"/><circle cx="260.00" cy="50.00" r="1.25" fill="#879381" data-hole="e27" opacity="0.68"/><circle cx="260.00" cy="40.00" r="1.25" fill="#879381" data-hole="f27" opacity="0.68"/><circle cx="260.00" cy="30.00" r="1.25" fill="#879381" data-hole="g27" opacity="0.68"/><circle cx="260.00" cy="20.00" r="1.25" fill="#879381" data-hole="h27" opacity="0.68"/><circle cx="260.00" cy="10.00" r="1.25" fill="#879381" data-hole="i27" opacity="0.68"/><circle cx="260.00" cy="0.00" r="1.25" fill="#879381" data-hole="j27" opacity="0.68"/><circle cx="270.00" cy="90.00" r="1.25" fill="#879381" data-hole="a28" opacity="0.68"/><circle cx="270.00" cy="80.00" r="1.25" fill="#879381" data-hole="b28" opacity="0.68"/><circle cx="270.00" cy="70.00" r="1.25" fill="#879381" data-hole="c28" opacity="0.68"/><circle cx="270.00" cy="60.00" r="1.25" fill="#879381" data-hole="d28" opacity="0.68"/><circle cx="270.00" cy="50.00" r="1.25" fill="#879381" data-hole="e28" opacity="0.68"/><circle cx="270.00" cy="40.00" r="1.25" fill="#879381" data-hole="f28" opacity="0.68"/><circle cx="270.00" cy="30.00" r="1.25" fill="#879381" data-hole="g28" opacity="0.68"/><circle cx="270.00" cy="20.00" r="1.25" fill="#879381" data-hole="h28" opacity="0.68"/><circle cx="270.00" cy="10.00" r="1.25" fill="#879381" data-hole="i28" opacity="0.68"/><circle cx="270.00" cy="0.00" r="1.25" fill="#879381" data-hole="j28" opacity="0.68"/><circle cx="280.00" cy="90.00" r="1.25" fill="#879381" data-hole="a29" opacity="0.68"/><circle cx="280.00" cy="80.00" r="1.25" fill="#879381" data-hole="b29" opacity="0.68"/><circle cx="280.00" cy="70.00" r="1.25" fill="#879381" data-hole="c29" opacity="0.68"/><circle cx="280.00" cy="60.00" r="1.25" fill="#879381" data-hole="d29" opacity="0.68"/><circle cx="280.00" cy="50.00" r="1.25" fill="#879381" data-hole="e29" opacity="0.68"/><circle cx="280.00" cy="40.00" r="1.25" fill="#879381" data-hole="f29" opacity="0.68"/><circle cx="280.00" cy="30.00" r="1.25" fill="#879381" data-hole="g29" opacity="0.68"/><circle cx="280.00" cy="20.00" r="1.25" fill="#879381" data-hole="h29" opacity="0.68"/><circle cx="280.00" cy="10.00" r="1.25" fill="#879381" data-hole="i29" opacity="0.68"/><circle cx="280.00" cy="0.00" r="1.25" fill="#879381" data-hole="j29" opacity="0.68"/><circle cx="290.00" cy="90.00" r="1.25" fill="#879381" data-hole="a30" opacity="0.68"/><circle cx="290.00" cy="80.00" r="1.25" fill="#879381" data-hole="b30" opacity="0.68"/><circle cx="290.00" cy="70.00" r="1.25" fill="#879381" data-hole="c30" opacity="0.68"/><circle cx="290.00" cy="60.00" r="1.25" fill="#879381" data-hole="d30" opacity="0.68"/><circle cx="290.00" cy="50.00" r="1.25" fill="#879381" data-hole="e30" opacity="0.68"/><circle cx="290.00" cy="40.00" r="1.25" fill="#879381" data-hole="f30" opacity="0.68"/><circle cx="290.00" cy="30.00" r="1.25" fill="#879381" data-hole="g30" opacity="0.68"/><circle cx="290.00" cy="20.00" r="1.25" fill="#879381" data-hole="h30" opacity="0.68"/><circle cx="290.00" cy="10.00" r="1.25" fill="#879381" data-hole="i30" opacity="0.68"/><circle cx="290.00" cy="0.00" r="1.25" fill="#879381" data-hole="j30" opacity="0.68"/><circle cx="10.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+1" opacity="0.68"/><circle cx="20.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+2" opacity="0.68"/><circle cx="30.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+3" opacity="0.68"/><circle cx="40.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+4" opacity="0.68"/><circle cx="50.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+5" opacity="0.68"/><circle cx="70.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+6" opacity="0.68"/><circle cx="80.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+7" opacity="0.68"/><circle cx="90.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+8" opacity="0.68"/><circle cx="100.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+9" opacity="0.68"/><circle cx="110.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+10" opacity="0.68"/><circle cx="130.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+11" opacity="0.68"/><circle cx="140.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+12" opacity="0.68"/><circle cx="150.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+13" opacity="0.68"/><circle cx="160.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+14" opacity="0.68"/><circle cx="170.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+15" opacity="0.68"/><circle cx="190.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+16" opacity="0.68"/><circle cx="200.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+17" opacity="0.68"/><circle cx="210.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+18" opacity="0.68"/><circle cx="220.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+19" opacity="0.68"/><circle cx="230.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+20" opacity="0.68"/><circle cx="250.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+21" opacity="0.68"/><circle cx="260.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+22" opacity="0.68"/><circle cx="270.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+23" opacity="0.68"/><circle cx="280.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+24" opacity="0.68"/><circle cx="290.00" cy="-20.00" r="1.25" fill="#879381" data-hole="T+25" opacity="0.68"/><circle cx="10.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-1" opacity="0.68"/><circle cx="20.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-2" opacity="0.68"/><circle cx="30.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-3" opacity="0.68"/><circle cx="40.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-4" opacity="0.68"/><circle cx="50.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-5" opacity="0.68"/><circle cx="70.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-6" opacity="0.68"/><circle cx="80.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-7" opacity="0.68"/><circle cx="90.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-8" opacity="0.68"/><circle cx="100.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-9" opacity="0.68"/><circle cx="110.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-10" opacity="0.68"/><circle cx="130.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-11" opacity="0.68"/><circle cx="140.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-12" opacity="0.68"/><circle cx="150.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-13" opacity="0.68"/><circle cx="160.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-14" opacity="0.68"/><circle cx="170.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-15" opacity="0.68"/><circle cx="190.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-16" opacity="0.68"/><circle cx="200.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-17" opacity="0.68"/><circle cx="210.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-18" opacity="0.68"/><circle cx="220.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-19" opacity="0.68"/><circle cx="230.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-20" opacity="0.68"/><circle cx="250.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-21" opacity="0.68"/><circle cx="260.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-22" opacity="0.68"/><circle cx="270.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-23" opacity="0.68"/><circle cx="280.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-24" opacity="0.68"/><circle cx="290.00" cy="-30.00" r="1.25" fill="#879381" data-hole="T-25" opacity="0.68"/><circle cx="10.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+1" opacity="1"/><circle cx="20.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+2" opacity="1"/><circle cx="30.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+3" opacity="1"/><circle cx="40.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+4" opacity="1"/><circle cx="50.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+5" opacity="1"/><circle cx="70.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+6" opacity="1"/><circle cx="80.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+7" opacity="1"/><circle cx="90.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+8" opacity="1"/><circle cx="100.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+9" opacity="1"/><circle cx="110.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+10" opacity="1"/><circle cx="130.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+11" opacity="1"/><circle cx="140.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+12" opacity="1"/><circle cx="150.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+13" opacity="1"/><circle cx="160.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+14" opacity="1"/><circle cx="170.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+15" opacity="1"/><circle cx="190.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+16" opacity="1"/><circle cx="200.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+17" opacity="1"/><circle cx="210.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+18" opacity="1"/><circle cx="220.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+19" opacity="1"/><circle cx="230.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+20" opacity="1"/><circle cx="250.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+21" opacity="1"/><circle cx="260.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+22" opacity="1"/><circle cx="270.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+23" opacity="1"/><circle cx="280.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+24" opacity="1"/><circle cx="290.00" cy="120.00" r="1.70" fill="#424b43" data-hole="B+25" opacity="1"/><circle cx="10.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-1" opacity="1"/><circle cx="20.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-2" opacity="1"/><circle cx="30.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-3" opacity="1"/><circle cx="40.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-4" opacity="1"/><circle cx="50.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-5" opacity="1"/><circle cx="70.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-6" opacity="1"/><circle cx="80.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-7" opacity="1"/><circle cx="90.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-8" opacity="1"/><circle cx="100.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-9" opacity="1"/><circle cx="110.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-10" opacity="1"/><circle cx="130.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-11" opacity="1"/><circle cx="140.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-12" opacity="1"/><circle cx="150.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-13" opacity="1"/><circle cx="160.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-14" opacity="1"/><circle cx="170.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-15" opacity="1"/><circle cx="190.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-16" opacity="1"/><circle cx="200.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-17" opacity="1"/><circle cx="210.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-18" opacity="1"/><circle cx="220.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-19" opacity="1"/><circle cx="230.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-20" opacity="1"/><circle cx="250.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-21" opacity="1"/><circle cx="260.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-22" opacity="1"/><circle cx="270.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-23" opacity="1"/><circle cx="280.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-24" opacity="1"/><circle cx="290.00" cy="110.00" r="1.70" fill="#424b43" data-hole="B-25" opacity="1"/></g>
|
|
7
|
+
<g id="labels"><text x="-5.00" y="90.00" font-size="4" text-anchor="middle">a</text><text x="-5.00" y="80.00" font-size="4" text-anchor="middle">b</text><text x="-5.00" y="70.00" font-size="4" text-anchor="middle">c</text><text x="-5.00" y="60.00" font-size="4" text-anchor="middle">d</text><text x="-5.00" y="50.00" font-size="4" text-anchor="middle">e</text><text x="-5.00" y="40.00" font-size="4" text-anchor="middle">f</text><text x="-5.00" y="30.00" font-size="4" text-anchor="middle">g</text><text x="-5.00" y="20.00" font-size="4" text-anchor="middle">h</text><text x="-5.00" y="10.00" font-size="4" text-anchor="middle">i</text><text x="-5.00" y="0.00" font-size="4" text-anchor="middle">j</text><text x="0.00" y="-2.00" font-size="3.5" text-anchor="middle">1</text><text x="10.00" y="-2.00" font-size="3.5" text-anchor="middle">2</text><text x="20.00" y="-2.00" font-size="3.5" text-anchor="middle">3</text><text x="30.00" y="-2.00" font-size="3.5" text-anchor="middle">4</text><text x="40.00" y="-2.00" font-size="3.5" text-anchor="middle">5</text><text x="50.00" y="-2.00" font-size="3.5" text-anchor="middle">6</text><text x="60.00" y="-2.00" font-size="3.5" text-anchor="middle">7</text><text x="70.00" y="-2.00" font-size="3.5" text-anchor="middle">8</text><text x="80.00" y="-2.00" font-size="3.5" text-anchor="middle">9</text><text x="90.00" y="-2.00" font-size="3.5" text-anchor="middle">10</text><text x="100.00" y="-2.00" font-size="3.5" text-anchor="middle">11</text><text x="110.00" y="-2.00" font-size="3.5" text-anchor="middle">12</text><text x="120.00" y="-2.00" font-size="3.5" text-anchor="middle">13</text><text x="130.00" y="-2.00" font-size="3.5" text-anchor="middle">14</text><text x="140.00" y="-2.00" font-size="3.5" text-anchor="middle">15</text><text x="150.00" y="-2.00" font-size="3.5" text-anchor="middle">16</text><text x="160.00" y="-2.00" font-size="3.5" text-anchor="middle">17</text><text x="170.00" y="-2.00" font-size="3.5" text-anchor="middle">18</text><text x="180.00" y="-2.00" font-size="3.5" text-anchor="middle">19</text><text x="190.00" y="-2.00" font-size="3.5" text-anchor="middle">20</text><text x="200.00" y="-2.00" font-size="3.5" text-anchor="middle">21</text><text x="210.00" y="-2.00" font-size="3.5" text-anchor="middle">22</text><text x="220.00" y="-2.00" font-size="3.5" text-anchor="middle">23</text><text x="230.00" y="-2.00" font-size="3.5" text-anchor="middle">24</text><text x="240.00" y="-2.00" font-size="3.5" text-anchor="middle">25</text><text x="250.00" y="-2.00" font-size="3.5" text-anchor="middle">26</text><text x="260.00" y="-2.00" font-size="3.5" text-anchor="middle">27</text><text x="270.00" y="-2.00" font-size="3.5" text-anchor="middle">28</text><text x="280.00" y="-2.00" font-size="3.5" text-anchor="middle">29</text><text x="290.00" y="-2.00" font-size="3.5" text-anchor="middle">30</text></g>
|
|
8
|
+
<g id="components"><g data-ref="SW1"><line x1="90.00" y1="50.00" x2="100.00" y2="45.00" stroke="#657067" stroke-width="0.65"/><line x1="90.00" y1="40.00" x2="100.00" y2="45.00" stroke="#657067" stroke-width="0.65"/><line x1="110.00" y1="50.00" x2="100.00" y2="45.00" stroke="#657067" stroke-width="0.65"/><line x1="110.00" y1="40.00" x2="100.00" y2="45.00" stroke="#657067" stroke-width="0.65"/><rect x="88.00" y="35.00" width="24.00" height="20.00" rx="2" fill="#ece7dd" stroke="#504c45" data-ref="SW1"/><circle cx="100.00" cy="45.00" r="5.00" fill="#c7c0b5" stroke="#6c655b"/><text x="100.00" y="32.00" font-size="4" text-anchor="middle">SW1</text></g><g data-ref="R1"><line x1="110.00" y1="90.00" x2="130.00" y2="90.00" stroke="#657067" stroke-width="0.65"/><line x1="150.00" y1="90.00" x2="130.00" y2="90.00" stroke="#657067" stroke-width="0.65"/><rect x="118.00" y="86.00" width="24.00" height="8.00" rx="3" fill="#f0d79c" stroke="#654f36" data-ref="R1"/><rect x="123.00" y="86.00" width="1.70" height="8.00" fill="#ff8c00"/><rect x="127.00" y="86.00" width="1.70" height="8.00" fill="#ff8c00"/><rect x="131.00" y="86.00" width="1.70" height="8.00" fill="#8b4513"/><rect x="135.00" y="86.00" width="1.70" height="8.00" fill="#d4af37"/><text x="130.00" y="83.00" font-size="4" text-anchor="middle">R1 330</text></g><g data-ref="D1"><line x1="150.00" y1="80.00" x2="155.00" y2="80.00" stroke="#657067" stroke-width="0.65"/><line x1="160.00" y1="80.00" x2="155.00" y2="80.00" stroke="#657067" stroke-width="0.65"/><circle cx="155.00" cy="80.00" r="5.50" fill="#df5550" stroke="#733b39" data-ref="D1"/><line x1="157.50" y1="75.00" x2="157.50" y2="85.00" stroke="#733b39" stroke-width="1.20"/><text x="155.00" y="72.00" font-size="4" text-anchor="middle">D1</text></g></g>
|
|
9
|
+
<g id="offboard"></g>
|
|
10
|
+
<g id="wires"><path d="M 90.00 90.00 L 90.00 120.00" fill="none" stroke="red" stroke-width="6" stroke-linecap="round" data-ref="W1"/><path d="M 160.00 90.00 L 160.00 110.00" fill="none" stroke="black" stroke-width="6" stroke-linecap="round" data-ref="W2"/></g>
|
|
11
|
+
<g id="nets"><text x="14.00" y="116.00" font-size="4" fill="#30363b" data-net="VCC">VCC</text><text x="14.00" y="106.00" font-size="4" fill="#30363b" data-net="GND">GND</text><text x="114.00" y="86.00" font-size="4" fill="#30363b" data-net="N1">N1</text><text x="154.00" y="86.00" font-size="4" fill="#30363b" data-net="N2">N2</text></g><g id="annotations"></g>
|
|
12
|
+
<g id="legend"><text x="0.00" y="130.00" font-size="6" font-weight="bold">押しボタンで LED を点灯</text></g></svg>
|
data/docs/dsl.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Breadkit DSL
|
|
2
|
+
|
|
3
|
+
Breadkit evaluates a Ruby file into a breadboard circuit, resolves pin and wire locations, and exposes the result as nets and JSON IR. DSL files are executable Ruby; only load files you trust. Use IR JSON when the input must remain data-only.
|
|
4
|
+
|
|
5
|
+
## A small circuit
|
|
6
|
+
|
|
7
|
+
```ruby
|
|
8
|
+
title "Button controlled LED"
|
|
9
|
+
board :half
|
|
10
|
+
supply :USB, voltage: 5, plus: "B+1", minus: "B-1"
|
|
11
|
+
net :VCC, at: "B+1"
|
|
12
|
+
net :GND, at: "B-1"
|
|
13
|
+
|
|
14
|
+
button :SW1, at: "e10"
|
|
15
|
+
resistor :R1, "330", pins: %w[a12 a16]
|
|
16
|
+
led :D1, color: :red, anode: "b16", cathode: "b17"
|
|
17
|
+
wire "a10", "B+", color: :red
|
|
18
|
+
wire "a17", "B-", color: :black
|
|
19
|
+
|
|
20
|
+
expect do
|
|
21
|
+
connected "SW1.1", :VCC
|
|
22
|
+
isolated :VCC, :GND
|
|
23
|
+
end
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Declarations
|
|
27
|
+
|
|
28
|
+
| Method | Purpose |
|
|
29
|
+
| --- | --- |
|
|
30
|
+
| `title(text)` | Diagram title. |
|
|
31
|
+
| `board(id, split_rails: false)` | Select `:full`, `:half`, `:mini`, or a custom board ID. |
|
|
32
|
+
| `use_parts(path)` / `use_boards(path)` | Load additional YAML definitions relative to the DSL file. Paths may use globs. |
|
|
33
|
+
| `supply(name, voltage:, plus:, minus:)` | Add a DC source. Both terminals occupy board holes. |
|
|
34
|
+
| `net(name, at:)` | Label a hole or component pin. |
|
|
35
|
+
| `part(ref, type, value = nil, pins: ..., at: ..., **attrs)` | Place a defined part. `pins:` accepts pin order arrays or pin-name hashes. |
|
|
36
|
+
| `wire(from, to, color: nil, id: nil, route: :straight, layer: nil, electrical: true, dashed: false)` | Connect two holes or pin references. `route: :arc` curves the wire; `route: :edge` routes around an outer board edge or from an external module along its terminal row. `layer:` groups wires in interactive SVG output; `electrical: false` draws a visual alternative without changing circuit connectivity. |
|
|
37
|
+
| `offboard(name, type, side: :left, at: nil, unused: [], **attrs)` | Place a module beside the board; `at:` aligns its first pin to a board position, and attrs such as `address:` are shown on the module. |
|
|
38
|
+
| `expect { ... }` | Declare `connected`, `isolated`, or named `net` expectations. `strict: true` also rejects unlisted pins on declared nets. |
|
|
39
|
+
| `lint_disable(rule, on: nil, reason: nil)` | Suppress a lint rule, optionally for one target. |
|
|
40
|
+
|
|
41
|
+
Short forms are available for `resistor`, `capacitor`, `electrolytic`, `diode`, `led`, `transistor`, `pot`, `button`, and `ic`.
|
|
42
|
+
|
|
43
|
+
## Hole and pin references
|
|
44
|
+
|
|
45
|
+
- Terminal holes use rows `a` through `j` and 1-based columns, such as `a10` or `J30`.
|
|
46
|
+
- Rail holes use `T+`, `T-`, `B+`, and `B-`, optionally followed by a 1-based index. A rail without an index selects the nearest free hole.
|
|
47
|
+
- A custom board may define other row and rail IDs in its YAML. For example, rows `u` and `v` use `u1` and `v1`; a rail with `id: PWR` uses `PWR1` or the unindexed `PWR`. Set each rail's `polarity:` to `+` or `-` for polarity-aware rendering.
|
|
48
|
+
- Component pins use `R1.1`, `D1.anode`, `U1.8`, or `U1.VCC`. A wire endpoint naming a placed pin selects a free hole in that pin's conductive strip.
|
|
49
|
+
- The built-in `ne555` and generic `dip` definitions must straddle the center gap. For a generic package, set `pin_count`, for example `part :U2, :dip, pin_count: 14, at: "e20"`.
|
|
50
|
+
- A generic pin header can be sized with `part :J1, :pin_header, pin_count: 4, pins: %w[a1 a2 a3 a4]`.
|
|
51
|
+
|
|
52
|
+
Values accept SI suffixes and RKM notation such as `4.7k`, `4k7`, `1M`, `100n`, `10uF`, and `4.7kΩ`.
|
|
53
|
+
|
|
54
|
+
## Switch states and IR
|
|
55
|
+
|
|
56
|
+
`circuit.states("none")`, `circuit.states("single")`, and `circuit.states("all")` control switch contact simulation. `Breadkit.load(path)` reads `.bk.rb` DSL or `.json` IR. `circuit.to_ir` returns the resolved circuit representation; automatically selected holes are fixed in IR and are not selected again when loaded.
|
|
57
|
+
|
|
58
|
+
The core CLI provides `breadkit nets`, `breadkit parts`, and `breadkit ir`.
|
|
59
|
+
|
|
60
|
+
Custom module pins can declare their kind with `type:` in the part YAML, for example `power`, `ground`, `clock`, `data`, `address`, or `interrupt`. The renderer colors typed pin markers and dims pins without a wire connection.
|
|
61
|
+
|
|
62
|
+
Assign the same `layer:` to wires and components to make them appear together in the interactive SVG layer controls. A layer may be a string or a list of strings when an item belongs to multiple views. Components without a layer remain visible in every view. Use `electrical: false, dashed: true` for an alternate connection that must not affect connectivity analysis.
|