Fine-tune tutorial, add tutorial BOMs

This commit is contained in:
Daniel Rojas 2020-06-15 18:22:26 +02:00
parent 1c5713888c
commit 4384ca504d
21 changed files with 357 additions and 320 deletions

View File

@ -33,7 +33,7 @@ if tutorials:
with open(os.path.abspath('../tutorial/tutorial{:02d}.md'.format(i)), 'r') as info:
for line in info:
file.write(line)
file.write(line.replace('## ', '## {} - '.format(i)))
file.write('\n[Source](tutorial{:02d}.yml):\n\n'.format(i))
with open(os.path.abspath('../tutorial/tutorial{:02d}.yml'.format(i)), 'r') as src:
@ -47,4 +47,4 @@ if tutorials:
file.write('![](tutorial{:02d}.png)\n\n'.format(i))
# file.write('[Bill of Materials](tutorial{:02d}.bom.tsv)\n\n\n'.format(i))
file.write('[Bill of Materials](tutorial{:02d}.bom.tsv)\n\n\n'.format(i))

View File

@ -1,5 +1,5 @@
# WireViz Tutorial
## Bare-bones example
## 1 - Bare-bones example
* Minimum working example
* Only 1-to-1 sequential wiring
@ -30,10 +30,13 @@ Output:
![](tutorial01.png)
## Adding parameters and colors
[Bill of Materials](tutorial01.bom.tsv)
## 2 - Adding parameters and colors
* Parameters for connectors and cables
* Auto-calculate AWG from mm2
* Auto-calculate equivalent AWG from mm2
* Non-sequential wiring
[Source](tutorial02.yml):
@ -56,7 +59,7 @@ cables:
# more cable parameters:
length: 1
gauge: 0.25 mm2
show_equiv: true
show_equiv: true # auto-calculate AWG equivalent
colors: [WH, BN, GN, YE]
connections:
@ -72,7 +75,10 @@ Output:
![](tutorial02.png)
## Pinouts, shielding, templates (I)
[Bill of Materials](tutorial02.bom.tsv)
## 3 - Pinouts, shielding, templates (I)
* Connector pinouts
* Pincount implicit in pinout
@ -115,12 +121,16 @@ Output:
![](tutorial03.png)
## Templates (II), notes,American standards, daisy chaining (I)
[Bill of Materials](tutorial03.bom.tsv)
## 4 - Templates (II), notes, American standards, daisy chaining (I)
* Overriding template parameters
* Add nodes to connectors (and cables)
* Add nodes to connectors and cables
* American standards: AWG gauge and IEC colors
* Linear daisy-chain
* Convenient for shorter chains
[Source](tutorial04.yml):
@ -144,7 +154,7 @@ cables:
W1: &template_cbl
wirecount: 4
length: 0.3
gauge: 24 AWG # specifying guage in AWG directly
gauge: 24 AWG # specify gauge in AWG directly
color_code: IEC # IEC 62 colors also supported
notes: This cable is a bit longer
W2:
@ -168,13 +178,21 @@ Output:
![](tutorial04.png)
## Ferrules, wire bundles, custom wire colors
[Bill of Materials](tutorial04.bom.tsv)
## 5 - Ferrules, wire bundles, custom wire colors
* Ferrules
* Simpler than connectors
* Compact graphical representation
* Only one pin, only one connection, no designator
* Define once, auto-generate where needed
* Wire bundles
* Internally treated as cables
* Different treatment in BOM
* Custom colors
* Different treatment in BOM: Each wire is listed individually
* Represented with dashed outline
* Custom wire colors
* Wirecount can be implicit in color list
[Source](tutorial05.yml):
@ -196,12 +214,12 @@ cables:
W1:
category: bundle # bundle
length: 0.3
gauge: 0.5 mm
gauge: 0.5 mm2
colors: [YE, BK, BK, RD] # custom colors, wirecount is implicit
connections:
- # attach ferrules
- F1
- F1 # no need for list of connections; one ferrule per wire is auto-generated and attached
- W1: [1-4] # a new ferrule is auto-generated for each wire
- # attach connectors (separetely from ferrules)
- W1: [1-4]
@ -213,10 +231,14 @@ Output:
![](tutorial05.png)
## Custom ferrules
[Bill of Materials](tutorial05.bom.tsv)
## 6 - Custom ferrules
* Custom ferrules
* Allows attaching more than one wire to a ferrule
* Requires defining them as regular connectors with unique designators, adding `category: ferrule` parameter
[Source](tutorial06.yml):
@ -226,7 +248,7 @@ connectors:
pinout: [+12V, GND, GND, +5V]
type: Molex 8981
subtype: female
F_10_1: # manually define a ferrule (with unique identifier)
F_10_1: # manually define a ferrule (with unique designator)
category: ferrule
type: Ferrule, crimp
subtype: 1.0 mm²
@ -242,7 +264,7 @@ cables:
W1:
category: bundle # budnle
length: 0.3
gauge: 0.5 mm
gauge: 0.5 mm2
colors: [YE, BK, BK, RD] # custom colors, wirecount is implicit
connections:
@ -266,9 +288,13 @@ Output:
![](tutorial06.png)
## Daisy chaining (II)
[Bill of Materials](tutorial06.bom.tsv)
## 7 - Daisy chaining (II)
* Zig-zag daisy chain
* Convenient for longer chains
[Source](tutorial07.yml):
@ -332,3 +358,6 @@ Output:
![](tutorial07.png)
[Bill of Materials](tutorial07.bom.tsv)

View File

@ -1,5 +1,5 @@
## Adding parameters and colors
* Parameters for connectors and cables
* Auto-calculate AWG from mm2
* Auto-calculate equivalent AWG from mm2
* Non-sequential wiring

View File

@ -15,7 +15,7 @@ cables:
# more cable parameters:
length: 1
gauge: 0.25 mm2
show_equiv: true
show_equiv: true # auto-calculate AWG equivalent
colors: [WH, BN, GN, YE]
connections:

View File

@ -1,6 +1,7 @@
## Templates (II), notes, American standards, daisy chaining (I)
* Overriding template parameters
* Add nodes to connectors (and cables)
* Add nodes to connectors and cables
* American standards: AWG gauge and IEC colors
* Linear daisy-chain
* Convenient for shorter chains

View File

@ -17,7 +17,7 @@ cables:
W1: &template_cbl
wirecount: 4
length: 0.3
gauge: 24 AWG # specifying guage in AWG directly
gauge: 24 AWG # specify gauge in AWG directly
color_code: IEC # IEC 62 colors also supported
notes: This cable is a bit longer
W2:

View File

@ -1,6 +1,6 @@
Item Qty Unit Designators
Connector, Ferrule, crimp, 0.5 mm², OG 4
Connector, Molex 8981, female, 4 pins 1 X1
Wire, 0.5 mm, BK 0.6 m W1
Wire, 0.5 mm, RD 0.3 m W1
Wire, 0.5 mm, YE 0.3 m W1
Wire, 0.5 mm², BK 0.6 m W1
Wire, 0.5 mm², RD 0.3 m W1
Wire, 0.5 mm², YE 0.3 m W1

1 Item Qty Unit Designators
2 Connector, Ferrule, crimp, 0.5 mm², OG 4
3 Connector, Molex 8981, female, 4 pins 1 X1
4 Wire, 0.5 mm, BK Wire, 0.5 mm², BK 0.6 m W1
5 Wire, 0.5 mm, RD Wire, 0.5 mm², RD 0.3 m W1
6 Wire, 0.5 mm, YE Wire, 0.5 mm², YE 0.3 m W1

View File

@ -61,5 +61,5 @@ graph {
W1:w3:e -- X1:p3l:w
edge [color="#000000:#ff0000:#000000"]
W1:w4:e -- X1:p4l:w
W1 [label=<<table border="0" cellspacing="0" cellpadding="0"><tr><td><table border="0" cellspacing="0" cellpadding="3" cellborder="1"><tr><td colspan="3">W1</td></tr><tr><td>4x</td><td>0.5 mm</td><td>0.3 m</td></tr></table></td></tr><tr><td>&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellborder="0"><tr><td></td><td>YE</td><td>X1:1</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ffff00" border="2" sides="tb" port="w1"></td></tr><tr><td></td><td>BK</td><td>X1:2</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w2"></td></tr><tr><td></td><td>BK</td><td>X1:3</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w3"></td></tr><tr><td></td><td>RD</td><td>X1:4</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ff0000" border="2" sides="tb" port="w4"></td></tr><tr><td>&nbsp;</td></tr></table></td></tr></table>> fillcolor=white margin=0 shape=box style="filled,dashed"]
W1 [label=<<table border="0" cellspacing="0" cellpadding="0"><tr><td><table border="0" cellspacing="0" cellpadding="3" cellborder="1"><tr><td colspan="3">W1</td></tr><tr><td>4x</td><td>0.5 mm²</td><td>0.3 m</td></tr></table></td></tr><tr><td>&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellborder="0"><tr><td></td><td>YE</td><td>X1:1</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ffff00" border="2" sides="tb" port="w1"></td></tr><tr><td></td><td>BK</td><td>X1:2</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w2"></td></tr><tr><td></td><td>BK</td><td>X1:3</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w3"></td></tr><tr><td></td><td>RD</td><td>X1:4</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ff0000" border="2" sides="tb" port="w4"></td></tr><tr><td>&nbsp;</td></tr></table></td></tr></table>> fillcolor=white margin=0 shape=box style="filled,dashed"]
}

View File

@ -4,37 +4,37 @@
<!-- Generated by graphviz version 2.44.0 (20200408.0750)
-->
<!-- Pages: 1 -->
<svg width="810pt" height="236pt"
viewBox="0.00 0.00 810.00 236.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="815pt" height="236pt"
viewBox="0.00 0.00 815.00 236.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 232)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-232 806,-232 806,4 -4,4"/>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-232 811,-232 811,4 -4,4"/>
<!-- X1 -->
<g id="node1" class="node">
<title>X1</title>
<polygon fill="white" stroke="black" points="610,-62 610,-200 802,-200 802,-62 610,-62"/>
<text text-anchor="middle" x="706" y="-184.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="610,-177 802,-177 "/>
<text text-anchor="middle" x="653.5" y="-161.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="697,-154 697,-177 "/>
<text text-anchor="middle" x="726" y="-161.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="755,-154 755,-177 "/>
<text text-anchor="middle" x="778.5" y="-161.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="610,-154 802,-154 "/>
<text text-anchor="middle" x="651.5" y="-138.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="610,-131 693,-131 "/>
<text text-anchor="middle" x="651.5" y="-115.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="610,-108 693,-108 "/>
<text text-anchor="middle" x="651.5" y="-92.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="610,-85 693,-85 "/>
<text text-anchor="middle" x="651.5" y="-69.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="693,-62 693,-154 "/>
<text text-anchor="middle" x="747.5" y="-138.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="693,-131 802,-131 "/>
<text text-anchor="middle" x="747.5" y="-115.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-108 802,-108 "/>
<text text-anchor="middle" x="747.5" y="-92.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-85 802,-85 "/>
<text text-anchor="middle" x="747.5" y="-69.8" font-family="arial" font-size="14.00">+5V</text>
<polygon fill="white" stroke="black" points="615,-62 615,-200 807,-200 807,-62 615,-62"/>
<text text-anchor="middle" x="711" y="-184.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="615,-177 807,-177 "/>
<text text-anchor="middle" x="658.5" y="-161.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="702,-154 702,-177 "/>
<text text-anchor="middle" x="731" y="-161.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="760,-154 760,-177 "/>
<text text-anchor="middle" x="783.5" y="-161.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="615,-154 807,-154 "/>
<text text-anchor="middle" x="656.5" y="-138.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="615,-131 698,-131 "/>
<text text-anchor="middle" x="656.5" y="-115.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="615,-108 698,-108 "/>
<text text-anchor="middle" x="656.5" y="-92.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="615,-85 698,-85 "/>
<text text-anchor="middle" x="656.5" y="-69.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="698,-62 698,-154 "/>
<text text-anchor="middle" x="752.5" y="-138.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="698,-131 807,-131 "/>
<text text-anchor="middle" x="752.5" y="-115.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-108 807,-108 "/>
<text text-anchor="middle" x="752.5" y="-92.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-85 807,-85 "/>
<text text-anchor="middle" x="752.5" y="-69.8" font-family="arial" font-size="14.00">+5V</text>
</g>
<!-- _F1 -->
<g id="node2" class="node">
@ -50,37 +50,37 @@
<!-- W1 -->
<g id="node6" class="node">
<title>W1</title>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="466,-228 345,-228 345,-48 466,-48 466,-228"/>
<polygon fill="none" stroke="black" points="345.5,-205 345.5,-228 466.5,-228 466.5,-205 345.5,-205"/>
<text text-anchor="start" x="395" y="-212.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345.5,-182 345.5,-205 368.5,-205 368.5,-182 345.5,-182"/>
<text text-anchor="start" x="349.5" y="-189.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368.5,-182 368.5,-205 423.5,-205 423.5,-182 368.5,-182"/>
<text text-anchor="start" x="372.5" y="-189.8" font-family="arial" font-size="14.00">0.5 mm</text>
<polygon fill="none" stroke="black" points="423.5,-182 423.5,-205 466.5,-205 466.5,-182 423.5,-182"/>
<text text-anchor="start" x="427.5" y="-189.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="404" y="-170.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="384.5" y="-153.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="427" y="-153.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345.5,-142 345.5,-148 466.5,-148 466.5,-142 345.5,-142"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-143 465.5,-143 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-147 346.5,-147 "/>
<text text-anchor="start" x="384.5" y="-128.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-128.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-117 345.5,-123 466.5,-123 466.5,-117 345.5,-117"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-118 465.5,-118 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-122 346.5,-122 "/>
<text text-anchor="start" x="384.5" y="-103.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-103.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-92 345.5,-98 466.5,-98 466.5,-92 345.5,-92"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-93 465.5,-93 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-97 346.5,-97 "/>
<text text-anchor="start" x="384" y="-78.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="427" y="-78.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345.5,-67 345.5,-73 466.5,-73 466.5,-67 345.5,-67"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-68 465.5,-68 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-72 346.5,-72 "/>
<text text-anchor="start" x="357" y="-53.8" font-family="arial" font-size="14.00"> </text>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="471,-228 345,-228 345,-48 471,-48 471,-228"/>
<polygon fill="none" stroke="black" points="345,-205 345,-228 471,-228 471,-205 345,-205"/>
<text text-anchor="start" x="397" y="-212.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345,-182 345,-205 368,-205 368,-182 345,-182"/>
<text text-anchor="start" x="349" y="-189.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368,-182 368,-205 428,-205 428,-182 368,-182"/>
<text text-anchor="start" x="372" y="-189.8" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="428,-182 428,-205 471,-205 471,-182 428,-182"/>
<text text-anchor="start" x="432" y="-189.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="406" y="-170.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="387" y="-153.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="431" y="-153.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345,-142 345,-148 471,-148 471,-142 345,-142"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-143 470,-143 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-147 346,-147 "/>
<text text-anchor="start" x="387" y="-128.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-128.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-117 345,-123 471,-123 471,-117 345,-117"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-118 470,-118 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-122 346,-122 "/>
<text text-anchor="start" x="387" y="-103.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-103.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-92 345,-98 471,-98 471,-92 345,-92"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-93 470,-93 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-97 346,-97 "/>
<text text-anchor="start" x="386.5" y="-78.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="431" y="-78.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345,-67 345,-73 471,-73 471,-67 345,-67"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-68 470,-68 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-72 346,-72 "/>
<text text-anchor="start" x="357.5" y="-53.8" font-family="arial" font-size="14.00"> </text>
</g>
<!-- _F1&#45;&#45;W1 -->
<g id="edge1" class="edge">
@ -146,31 +146,31 @@
<!-- W1&#45;&#45;X1 -->
<g id="edge5" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-143C529.76,-143.02 545.75,-141.02 610,-141"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M466,-145C530.01,-145 545.99,-143 610,-143"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-147C530.25,-146.98 546.24,-144.98 610,-145"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-143C534.76,-143.02 550.75,-141.02 615,-141"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M471,-145C535.01,-145 550.99,-143 615,-143"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-147C535.25,-146.98 551.24,-144.98 615,-145"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge6" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-118C529.88,-118 545.87,-117 610,-117"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-120C530,-120 546,-119 610,-119"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-122C530.13,-122 546.12,-121 610,-121"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-118C534.88,-118 550.87,-117 615,-117"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-120C535,-120 551,-119 615,-119"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-122C535.13,-122 551.12,-121 615,-121"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge7" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-93C530.13,-93 546.12,-94 610,-94"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-95C530,-95 546,-96 610,-96"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-97C529.88,-97 545.87,-98 610,-98"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-93C535.13,-93 551.12,-94 615,-94"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-95C535,-95 551,-96 615,-96"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-97C534.88,-97 550.87,-98 615,-98"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge8" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-68C530.38,-68.03 546.36,-71.03 610,-71"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M466,-70C530.01,-70 545.99,-73 610,-73"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-72C529.64,-71.97 545.62,-74.97 610,-75"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-68C535.38,-68.03 551.36,-71.03 615,-71"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M471,-70C535.01,-70 550.99,-73 615,-73"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-72C534.64,-71.97 550.62,-74.97 615,-75"/>
</g>
</g>
</svg>
<h1>Bill of Materials</h1><table style="border:1px solid #000000; font-size: 14pt; border-spacing: 0px"><tr><th align="left" style="border:1px solid #000000; padding: 8px">Item</th><th align="left" style="border:1px solid #000000; padding: 8px">Qty</th><th align="left" style="border:1px solid #000000; padding: 8px">Unit</th><th align="left" style="border:1px solid #000000; padding: 8px">Designators</th></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Ferrule, crimp, 0.5 mm², OG</td><td align="right" style="border:1px solid #000000; padding: 4px">4</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px"></td></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Molex 8981, female, 4 pins</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px">X1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm, BK</td><td align="right" style="border:1px solid #000000; padding: 4px">0.6</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm, RD</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm, YE</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr></table></body></html>
<h1>Bill of Materials</h1><table style="border:1px solid #000000; font-size: 14pt; border-spacing: 0px"><tr><th align="left" style="border:1px solid #000000; padding: 8px">Item</th><th align="left" style="border:1px solid #000000; padding: 8px">Qty</th><th align="left" style="border:1px solid #000000; padding: 8px">Unit</th><th align="left" style="border:1px solid #000000; padding: 8px">Designators</th></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Ferrule, crimp, 0.5 mm², OG</td><td align="right" style="border:1px solid #000000; padding: 4px">4</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px"></td></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Molex 8981, female, 4 pins</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px">X1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm², BK</td><td align="right" style="border:1px solid #000000; padding: 4px">0.6</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm², RD</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm², YE</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr></table></body></html>

View File

@ -1,8 +1,13 @@
## Ferrules, wire bundles, custom wire colors
* Ferrules
* Simpler than connectors
* Compact graphical representation
* Only one pin, only one connection, no designator
* Define once, auto-generate where needed
* Wire bundles
* Internally treated as cables
* Different treatment in BOM
* Custom colors
* Different treatment in BOM: Each wire is listed individually
* Represented with dashed outline
* Custom wire colors
* Wirecount can be implicit in color list

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -4,37 +4,37 @@
<!-- Generated by graphviz version 2.44.0 (20200408.0750)
-->
<!-- Pages: 1 -->
<svg width="810pt" height="236pt"
viewBox="0.00 0.00 810.00 236.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="815pt" height="236pt"
viewBox="0.00 0.00 815.00 236.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 232)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-232 806,-232 806,4 -4,4"/>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-232 811,-232 811,4 -4,4"/>
<!-- X1 -->
<g id="node1" class="node">
<title>X1</title>
<polygon fill="white" stroke="black" points="610,-62 610,-200 802,-200 802,-62 610,-62"/>
<text text-anchor="middle" x="706" y="-184.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="610,-177 802,-177 "/>
<text text-anchor="middle" x="653.5" y="-161.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="697,-154 697,-177 "/>
<text text-anchor="middle" x="726" y="-161.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="755,-154 755,-177 "/>
<text text-anchor="middle" x="778.5" y="-161.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="610,-154 802,-154 "/>
<text text-anchor="middle" x="651.5" y="-138.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="610,-131 693,-131 "/>
<text text-anchor="middle" x="651.5" y="-115.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="610,-108 693,-108 "/>
<text text-anchor="middle" x="651.5" y="-92.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="610,-85 693,-85 "/>
<text text-anchor="middle" x="651.5" y="-69.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="693,-62 693,-154 "/>
<text text-anchor="middle" x="747.5" y="-138.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="693,-131 802,-131 "/>
<text text-anchor="middle" x="747.5" y="-115.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-108 802,-108 "/>
<text text-anchor="middle" x="747.5" y="-92.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-85 802,-85 "/>
<text text-anchor="middle" x="747.5" y="-69.8" font-family="arial" font-size="14.00">+5V</text>
<polygon fill="white" stroke="black" points="615,-62 615,-200 807,-200 807,-62 615,-62"/>
<text text-anchor="middle" x="711" y="-184.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="615,-177 807,-177 "/>
<text text-anchor="middle" x="658.5" y="-161.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="702,-154 702,-177 "/>
<text text-anchor="middle" x="731" y="-161.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="760,-154 760,-177 "/>
<text text-anchor="middle" x="783.5" y="-161.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="615,-154 807,-154 "/>
<text text-anchor="middle" x="656.5" y="-138.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="615,-131 698,-131 "/>
<text text-anchor="middle" x="656.5" y="-115.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="615,-108 698,-108 "/>
<text text-anchor="middle" x="656.5" y="-92.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="615,-85 698,-85 "/>
<text text-anchor="middle" x="656.5" y="-69.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="698,-62 698,-154 "/>
<text text-anchor="middle" x="752.5" y="-138.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="698,-131 807,-131 "/>
<text text-anchor="middle" x="752.5" y="-115.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-108 807,-108 "/>
<text text-anchor="middle" x="752.5" y="-92.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-85 807,-85 "/>
<text text-anchor="middle" x="752.5" y="-69.8" font-family="arial" font-size="14.00">+5V</text>
</g>
<!-- _F1 -->
<g id="node2" class="node">
@ -50,37 +50,37 @@
<!-- W1 -->
<g id="node6" class="node">
<title>W1</title>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="466,-228 345,-228 345,-48 466,-48 466,-228"/>
<polygon fill="none" stroke="black" points="345.5,-205 345.5,-228 466.5,-228 466.5,-205 345.5,-205"/>
<text text-anchor="start" x="395" y="-212.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345.5,-182 345.5,-205 368.5,-205 368.5,-182 345.5,-182"/>
<text text-anchor="start" x="349.5" y="-189.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368.5,-182 368.5,-205 423.5,-205 423.5,-182 368.5,-182"/>
<text text-anchor="start" x="372.5" y="-189.8" font-family="arial" font-size="14.00">0.5 mm</text>
<polygon fill="none" stroke="black" points="423.5,-182 423.5,-205 466.5,-205 466.5,-182 423.5,-182"/>
<text text-anchor="start" x="427.5" y="-189.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="404" y="-170.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="384.5" y="-153.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="427" y="-153.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345.5,-142 345.5,-148 466.5,-148 466.5,-142 345.5,-142"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-143 465.5,-143 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-147 346.5,-147 "/>
<text text-anchor="start" x="384.5" y="-128.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-128.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-117 345.5,-123 466.5,-123 466.5,-117 345.5,-117"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-118 465.5,-118 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-122 346.5,-122 "/>
<text text-anchor="start" x="384.5" y="-103.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-103.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-92 345.5,-98 466.5,-98 466.5,-92 345.5,-92"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-93 465.5,-93 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-97 346.5,-97 "/>
<text text-anchor="start" x="384" y="-78.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="427" y="-78.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345.5,-67 345.5,-73 466.5,-73 466.5,-67 345.5,-67"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-68 465.5,-68 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-72 346.5,-72 "/>
<text text-anchor="start" x="357" y="-53.8" font-family="arial" font-size="14.00"> </text>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="471,-228 345,-228 345,-48 471,-48 471,-228"/>
<polygon fill="none" stroke="black" points="345,-205 345,-228 471,-228 471,-205 345,-205"/>
<text text-anchor="start" x="397" y="-212.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345,-182 345,-205 368,-205 368,-182 345,-182"/>
<text text-anchor="start" x="349" y="-189.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368,-182 368,-205 428,-205 428,-182 368,-182"/>
<text text-anchor="start" x="372" y="-189.8" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="428,-182 428,-205 471,-205 471,-182 428,-182"/>
<text text-anchor="start" x="432" y="-189.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="406" y="-170.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="387" y="-153.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="431" y="-153.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345,-142 345,-148 471,-148 471,-142 345,-142"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-143 470,-143 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-147 346,-147 "/>
<text text-anchor="start" x="387" y="-128.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-128.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-117 345,-123 471,-123 471,-117 345,-117"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-118 470,-118 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-122 346,-122 "/>
<text text-anchor="start" x="387" y="-103.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-103.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-92 345,-98 471,-98 471,-92 345,-92"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-93 470,-93 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-97 346,-97 "/>
<text text-anchor="start" x="386.5" y="-78.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="431" y="-78.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345,-67 345,-73 471,-73 471,-67 345,-67"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-68 470,-68 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-72 346,-72 "/>
<text text-anchor="start" x="357.5" y="-53.8" font-family="arial" font-size="14.00"> </text>
</g>
<!-- _F1&#45;&#45;W1 -->
<g id="edge1" class="edge">
@ -146,30 +146,30 @@
<!-- W1&#45;&#45;X1 -->
<g id="edge5" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-143C529.76,-143.02 545.75,-141.02 610,-141"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M466,-145C530.01,-145 545.99,-143 610,-143"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-147C530.25,-146.98 546.24,-144.98 610,-145"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-143C534.76,-143.02 550.75,-141.02 615,-141"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M471,-145C535.01,-145 550.99,-143 615,-143"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-147C535.25,-146.98 551.24,-144.98 615,-145"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge6" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-118C529.88,-118 545.87,-117 610,-117"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-120C530,-120 546,-119 610,-119"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-122C530.13,-122 546.12,-121 610,-121"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-118C534.88,-118 550.87,-117 615,-117"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-120C535,-120 551,-119 615,-119"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-122C535.13,-122 551.12,-121 615,-121"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge7" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-93C530.13,-93 546.12,-94 610,-94"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-95C530,-95 546,-96 610,-96"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-97C529.88,-97 545.87,-98 610,-98"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-93C535.13,-93 551.12,-94 615,-94"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-95C535,-95 551,-96 615,-96"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-97C534.88,-97 550.87,-98 615,-98"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge8" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-68C530.38,-68.03 546.36,-71.03 610,-71"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M466,-70C530.01,-70 545.99,-73 610,-73"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-72C529.64,-71.97 545.62,-74.97 610,-75"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-68C535.38,-68.03 551.36,-71.03 615,-71"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M471,-70C535.01,-70 550.99,-73 615,-73"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-72C534.64,-71.97 550.62,-74.97 615,-75"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -14,12 +14,12 @@ cables:
W1:
category: bundle # bundle
length: 0.3
gauge: 0.5 mm
gauge: 0.5 mm2
colors: [YE, BK, BK, RD] # custom colors, wirecount is implicit
connections:
- # attach ferrules
- F1
- F1 # no need for list of connections; one ferrule per wire is auto-generated and attached
- W1: [1-4] # a new ferrule is auto-generated for each wire
- # attach connectors (separetely from ferrules)
- W1: [1-4]

View File

@ -2,6 +2,6 @@ Item Qty Unit Designators
Connector, Ferrule, crimp, 0.5 mm², OG 2
Connector, Ferrule, crimp, 1.0 mm², YE 1
Connector, Molex 8981, female, 4 pins 1 X1
Wire, 0.5 mm, BK 0.6 m W1
Wire, 0.5 mm, RD 0.3 m W1
Wire, 0.5 mm, YE 0.3 m W1
Wire, 0.5 mm², BK 0.6 m W1
Wire, 0.5 mm², RD 0.3 m W1
Wire, 0.5 mm², YE 0.3 m W1

1 Item Qty Unit Designators
2 Connector, Ferrule, crimp, 0.5 mm², OG 2
3 Connector, Ferrule, crimp, 1.0 mm², YE 1
4 Connector, Molex 8981, female, 4 pins 1 X1
5 Wire, 0.5 mm, BK Wire, 0.5 mm², BK 0.6 m W1
6 Wire, 0.5 mm, RD Wire, 0.5 mm², RD 0.3 m W1
7 Wire, 0.5 mm, YE Wire, 0.5 mm², YE 0.3 m W1

View File

@ -51,5 +51,5 @@ graph {
F_10_1:e -- W1:w2:w
edge [color="#000000:#000000:#000000"]
F_10_1:e -- W1:w3:w
W1 [label=<<table border="0" cellspacing="0" cellpadding="0"><tr><td><table border="0" cellspacing="0" cellpadding="3" cellborder="1"><tr><td colspan="3">W1</td></tr><tr><td>4x</td><td>0.5 mm</td><td>0.3 m</td></tr></table></td></tr><tr><td>&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellborder="0"><tr><td></td><td>YE</td><td>X1:1</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ffff00" border="2" sides="tb" port="w1"></td></tr><tr><td></td><td>BK</td><td>X1:2</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w2"></td></tr><tr><td></td><td>BK</td><td>X1:3</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w3"></td></tr><tr><td></td><td>RD</td><td>X1:4</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ff0000" border="2" sides="tb" port="w4"></td></tr><tr><td>&nbsp;</td></tr></table></td></tr></table>> fillcolor=white margin=0 shape=box style="filled,dashed"]
W1 [label=<<table border="0" cellspacing="0" cellpadding="0"><tr><td><table border="0" cellspacing="0" cellpadding="3" cellborder="1"><tr><td colspan="3">W1</td></tr><tr><td>4x</td><td>0.5 mm²</td><td>0.3 m</td></tr></table></td></tr><tr><td>&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellborder="0"><tr><td></td><td>YE</td><td>X1:1</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ffff00" border="2" sides="tb" port="w1"></td></tr><tr><td></td><td>BK</td><td>X1:2</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w2"></td></tr><tr><td></td><td>BK</td><td>X1:3</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#000000" border="2" sides="tb" port="w3"></td></tr><tr><td></td><td>RD</td><td>X1:4</td></tr><tr><td colspan="3" cellpadding="0" height="6" bgcolor="#ff0000" border="2" sides="tb" port="w4"></td></tr><tr><td>&nbsp;</td></tr></table></td></tr></table>> fillcolor=white margin=0 shape=box style="filled,dashed"]
}

View File

@ -4,37 +4,37 @@
<!-- Generated by graphviz version 2.44.0 (20200408.0750)
-->
<!-- Pages: 1 -->
<svg width="810pt" height="206pt"
viewBox="0.00 0.00 810.00 206.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="815pt" height="206pt"
viewBox="0.00 0.00 815.00 206.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 202)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-202 806,-202 806,4 -4,4"/>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-202 811,-202 811,4 -4,4"/>
<!-- X1 -->
<g id="node1" class="node">
<title>X1</title>
<polygon fill="white" stroke="black" points="610,-32 610,-170 802,-170 802,-32 610,-32"/>
<text text-anchor="middle" x="706" y="-154.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="610,-147 802,-147 "/>
<text text-anchor="middle" x="653.5" y="-131.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="697,-124 697,-147 "/>
<text text-anchor="middle" x="726" y="-131.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="755,-124 755,-147 "/>
<text text-anchor="middle" x="778.5" y="-131.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="610,-124 802,-124 "/>
<text text-anchor="middle" x="651.5" y="-108.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="610,-101 693,-101 "/>
<text text-anchor="middle" x="651.5" y="-85.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="610,-78 693,-78 "/>
<text text-anchor="middle" x="651.5" y="-62.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="610,-55 693,-55 "/>
<text text-anchor="middle" x="651.5" y="-39.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="693,-32 693,-124 "/>
<text text-anchor="middle" x="747.5" y="-108.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="693,-101 802,-101 "/>
<text text-anchor="middle" x="747.5" y="-85.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-78 802,-78 "/>
<text text-anchor="middle" x="747.5" y="-62.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-55 802,-55 "/>
<text text-anchor="middle" x="747.5" y="-39.8" font-family="arial" font-size="14.00">+5V</text>
<polygon fill="white" stroke="black" points="615,-32 615,-170 807,-170 807,-32 615,-32"/>
<text text-anchor="middle" x="711" y="-154.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="615,-147 807,-147 "/>
<text text-anchor="middle" x="658.5" y="-131.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="702,-124 702,-147 "/>
<text text-anchor="middle" x="731" y="-131.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="760,-124 760,-147 "/>
<text text-anchor="middle" x="783.5" y="-131.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="615,-124 807,-124 "/>
<text text-anchor="middle" x="656.5" y="-108.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="615,-101 698,-101 "/>
<text text-anchor="middle" x="656.5" y="-85.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="615,-78 698,-78 "/>
<text text-anchor="middle" x="656.5" y="-62.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="615,-55 698,-55 "/>
<text text-anchor="middle" x="656.5" y="-39.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="698,-32 698,-124 "/>
<text text-anchor="middle" x="752.5" y="-108.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="698,-101 807,-101 "/>
<text text-anchor="middle" x="752.5" y="-85.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-78 807,-78 "/>
<text text-anchor="middle" x="752.5" y="-62.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-55 807,-55 "/>
<text text-anchor="middle" x="752.5" y="-39.8" font-family="arial" font-size="14.00">+5V</text>
</g>
<!-- F_10_1 -->
<g id="node2" class="node">
@ -50,37 +50,37 @@
<!-- W1 -->
<g id="node5" class="node">
<title>W1</title>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="466,-198 345,-198 345,-18 466,-18 466,-198"/>
<polygon fill="none" stroke="black" points="345.5,-175 345.5,-198 466.5,-198 466.5,-175 345.5,-175"/>
<text text-anchor="start" x="395" y="-182.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345.5,-152 345.5,-175 368.5,-175 368.5,-152 345.5,-152"/>
<text text-anchor="start" x="349.5" y="-159.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368.5,-152 368.5,-175 423.5,-175 423.5,-152 368.5,-152"/>
<text text-anchor="start" x="372.5" y="-159.8" font-family="arial" font-size="14.00">0.5 mm</text>
<polygon fill="none" stroke="black" points="423.5,-152 423.5,-175 466.5,-175 466.5,-152 423.5,-152"/>
<text text-anchor="start" x="427.5" y="-159.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="404" y="-140.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="384.5" y="-123.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="427" y="-123.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345.5,-112 345.5,-118 466.5,-118 466.5,-112 345.5,-112"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-113 465.5,-113 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-117 346.5,-117 "/>
<text text-anchor="start" x="384.5" y="-98.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-98.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-87 345.5,-93 466.5,-93 466.5,-87 345.5,-87"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-88 465.5,-88 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-92 346.5,-92 "/>
<text text-anchor="start" x="384.5" y="-73.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-73.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-62 345.5,-68 466.5,-68 466.5,-62 345.5,-62"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-63 465.5,-63 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-67 346.5,-67 "/>
<text text-anchor="start" x="384" y="-48.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="427" y="-48.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345.5,-37 345.5,-43 466.5,-43 466.5,-37 345.5,-37"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-38 465.5,-38 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-42 346.5,-42 "/>
<text text-anchor="start" x="357" y="-23.8" font-family="arial" font-size="14.00"> </text>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="471,-198 345,-198 345,-18 471,-18 471,-198"/>
<polygon fill="none" stroke="black" points="345,-175 345,-198 471,-198 471,-175 345,-175"/>
<text text-anchor="start" x="397" y="-182.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345,-152 345,-175 368,-175 368,-152 345,-152"/>
<text text-anchor="start" x="349" y="-159.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368,-152 368,-175 428,-175 428,-152 368,-152"/>
<text text-anchor="start" x="372" y="-159.8" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="428,-152 428,-175 471,-175 471,-152 428,-152"/>
<text text-anchor="start" x="432" y="-159.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="406" y="-140.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="387" y="-123.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="431" y="-123.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345,-112 345,-118 471,-118 471,-112 345,-112"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-113 470,-113 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-117 346,-117 "/>
<text text-anchor="start" x="387" y="-98.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-98.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-87 345,-93 471,-93 471,-87 345,-87"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-88 470,-88 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-92 346,-92 "/>
<text text-anchor="start" x="387" y="-73.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-73.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-62 345,-68 471,-68 471,-62 345,-62"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-63 470,-63 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-67 346,-67 "/>
<text text-anchor="start" x="386.5" y="-48.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="431" y="-48.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345,-37 345,-43 471,-43 471,-37 345,-37"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-38 470,-38 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-42 346,-42 "/>
<text text-anchor="start" x="357.5" y="-23.8" font-family="arial" font-size="14.00"> </text>
</g>
<!-- F_10_1&#45;&#45;W1 -->
<g id="edge7" class="edge">
@ -135,31 +135,31 @@
<!-- W1&#45;&#45;X1 -->
<g id="edge3" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-113C529.76,-113.02 545.75,-111.02 610,-111"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M466,-115C530.01,-115 545.99,-113 610,-113"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-117C530.25,-116.98 546.24,-114.98 610,-115"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-113C534.76,-113.02 550.75,-111.02 615,-111"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M471,-115C535.01,-115 550.99,-113 615,-113"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-117C535.25,-116.98 551.24,-114.98 615,-115"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge4" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-88C529.88,-88 545.87,-87 610,-87"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-90C530,-90 546,-89 610,-89"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-92C530.13,-92 546.12,-91 610,-91"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-88C534.88,-88 550.87,-87 615,-87"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-90C535,-90 551,-89 615,-89"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-92C535.13,-92 551.12,-91 615,-91"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge5" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-63C530.13,-63 546.12,-64 610,-64"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-65C530,-65 546,-66 610,-66"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-67C529.88,-67 545.87,-68 610,-68"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-63C535.13,-63 551.12,-64 615,-64"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-65C535,-65 551,-66 615,-66"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-67C534.88,-67 550.87,-68 615,-68"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge6" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-38C530.38,-38.03 546.36,-41.03 610,-41"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M466,-40C530.01,-40 545.99,-43 610,-43"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-42C529.64,-41.97 545.62,-44.97 610,-45"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-38C535.38,-38.03 551.36,-41.03 615,-41"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M471,-40C535.01,-40 550.99,-43 615,-43"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-42C534.64,-41.97 550.62,-44.97 615,-45"/>
</g>
</g>
</svg>
<h1>Bill of Materials</h1><table style="border:1px solid #000000; font-size: 14pt; border-spacing: 0px"><tr><th align="left" style="border:1px solid #000000; padding: 8px">Item</th><th align="left" style="border:1px solid #000000; padding: 8px">Qty</th><th align="left" style="border:1px solid #000000; padding: 8px">Unit</th><th align="left" style="border:1px solid #000000; padding: 8px">Designators</th></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Ferrule, crimp, 0.5 mm², OG</td><td align="right" style="border:1px solid #000000; padding: 4px">2</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px"></td></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Ferrule, crimp, 1.0 mm², YE</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px"></td></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Molex 8981, female, 4 pins</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px">X1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm, BK</td><td align="right" style="border:1px solid #000000; padding: 4px">0.6</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm, RD</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm, YE</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr></table></body></html>
<h1>Bill of Materials</h1><table style="border:1px solid #000000; font-size: 14pt; border-spacing: 0px"><tr><th align="left" style="border:1px solid #000000; padding: 8px">Item</th><th align="left" style="border:1px solid #000000; padding: 8px">Qty</th><th align="left" style="border:1px solid #000000; padding: 8px">Unit</th><th align="left" style="border:1px solid #000000; padding: 8px">Designators</th></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Ferrule, crimp, 0.5 mm², OG</td><td align="right" style="border:1px solid #000000; padding: 4px">2</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px"></td></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Ferrule, crimp, 1.0 mm², YE</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px"></td></tr><tr><td style="border:1px solid #000000; padding: 4px">Connector, Molex 8981, female, 4 pins</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px">X1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm², BK</td><td align="right" style="border:1px solid #000000; padding: 4px">0.6</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm², RD</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Wire, 0.5 mm², YE</td><td align="right" style="border:1px solid #000000; padding: 4px">0.3</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr></table></body></html>

View File

@ -2,3 +2,4 @@
* Custom ferrules
* Allows attaching more than one wire to a ferrule
* Requires defining them as regular connectors with unique designators, adding `category: ferrule` parameter

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -4,37 +4,37 @@
<!-- Generated by graphviz version 2.44.0 (20200408.0750)
-->
<!-- Pages: 1 -->
<svg width="810pt" height="206pt"
viewBox="0.00 0.00 810.00 206.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="815pt" height="206pt"
viewBox="0.00 0.00 815.00 206.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 202)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-202 806,-202 806,4 -4,4"/>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-202 811,-202 811,4 -4,4"/>
<!-- X1 -->
<g id="node1" class="node">
<title>X1</title>
<polygon fill="white" stroke="black" points="610,-32 610,-170 802,-170 802,-32 610,-32"/>
<text text-anchor="middle" x="706" y="-154.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="610,-147 802,-147 "/>
<text text-anchor="middle" x="653.5" y="-131.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="697,-124 697,-147 "/>
<text text-anchor="middle" x="726" y="-131.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="755,-124 755,-147 "/>
<text text-anchor="middle" x="778.5" y="-131.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="610,-124 802,-124 "/>
<text text-anchor="middle" x="651.5" y="-108.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="610,-101 693,-101 "/>
<text text-anchor="middle" x="651.5" y="-85.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="610,-78 693,-78 "/>
<text text-anchor="middle" x="651.5" y="-62.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="610,-55 693,-55 "/>
<text text-anchor="middle" x="651.5" y="-39.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="693,-32 693,-124 "/>
<text text-anchor="middle" x="747.5" y="-108.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="693,-101 802,-101 "/>
<text text-anchor="middle" x="747.5" y="-85.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-78 802,-78 "/>
<text text-anchor="middle" x="747.5" y="-62.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="693,-55 802,-55 "/>
<text text-anchor="middle" x="747.5" y="-39.8" font-family="arial" font-size="14.00">+5V</text>
<polygon fill="white" stroke="black" points="615,-32 615,-170 807,-170 807,-32 615,-32"/>
<text text-anchor="middle" x="711" y="-154.8" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="615,-147 807,-147 "/>
<text text-anchor="middle" x="658.5" y="-131.8" font-family="arial" font-size="14.00">Molex 8981</text>
<polyline fill="none" stroke="black" points="702,-124 702,-147 "/>
<text text-anchor="middle" x="731" y="-131.8" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="760,-124 760,-147 "/>
<text text-anchor="middle" x="783.5" y="-131.8" font-family="arial" font-size="14.00">4&#45;pin</text>
<polyline fill="none" stroke="black" points="615,-124 807,-124 "/>
<text text-anchor="middle" x="656.5" y="-108.8" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="615,-101 698,-101 "/>
<text text-anchor="middle" x="656.5" y="-85.8" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="615,-78 698,-78 "/>
<text text-anchor="middle" x="656.5" y="-62.8" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="615,-55 698,-55 "/>
<text text-anchor="middle" x="656.5" y="-39.8" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="698,-32 698,-124 "/>
<text text-anchor="middle" x="752.5" y="-108.8" font-family="arial" font-size="14.00">+12V</text>
<polyline fill="none" stroke="black" points="698,-101 807,-101 "/>
<text text-anchor="middle" x="752.5" y="-85.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-78 807,-78 "/>
<text text-anchor="middle" x="752.5" y="-62.8" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="698,-55 807,-55 "/>
<text text-anchor="middle" x="752.5" y="-39.8" font-family="arial" font-size="14.00">+5V</text>
</g>
<!-- F_10_1 -->
<g id="node2" class="node">
@ -50,37 +50,37 @@
<!-- W1 -->
<g id="node5" class="node">
<title>W1</title>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="466,-198 345,-198 345,-18 466,-18 466,-198"/>
<polygon fill="none" stroke="black" points="345.5,-175 345.5,-198 466.5,-198 466.5,-175 345.5,-175"/>
<text text-anchor="start" x="395" y="-182.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345.5,-152 345.5,-175 368.5,-175 368.5,-152 345.5,-152"/>
<text text-anchor="start" x="349.5" y="-159.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368.5,-152 368.5,-175 423.5,-175 423.5,-152 368.5,-152"/>
<text text-anchor="start" x="372.5" y="-159.8" font-family="arial" font-size="14.00">0.5 mm</text>
<polygon fill="none" stroke="black" points="423.5,-152 423.5,-175 466.5,-175 466.5,-152 423.5,-152"/>
<text text-anchor="start" x="427.5" y="-159.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="404" y="-140.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="384.5" y="-123.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="427" y="-123.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345.5,-112 345.5,-118 466.5,-118 466.5,-112 345.5,-112"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-113 465.5,-113 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-117 346.5,-117 "/>
<text text-anchor="start" x="384.5" y="-98.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-98.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-87 345.5,-93 466.5,-93 466.5,-87 345.5,-87"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-88 465.5,-88 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-92 346.5,-92 "/>
<text text-anchor="start" x="384.5" y="-73.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="427" y="-73.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345.5,-62 345.5,-68 466.5,-68 466.5,-62 345.5,-62"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-63 465.5,-63 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-67 346.5,-67 "/>
<text text-anchor="start" x="384" y="-48.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="427" y="-48.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345.5,-37 345.5,-43 466.5,-43 466.5,-37 345.5,-37"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346.5,-38 465.5,-38 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="465.5,-42 346.5,-42 "/>
<text text-anchor="start" x="357" y="-23.8" font-family="arial" font-size="14.00"> </text>
<polygon fill="white" stroke="black" stroke-dasharray="5,2" points="471,-198 345,-198 345,-18 471,-18 471,-198"/>
<polygon fill="none" stroke="black" points="345,-175 345,-198 471,-198 471,-175 345,-175"/>
<text text-anchor="start" x="397" y="-182.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="345,-152 345,-175 368,-175 368,-152 345,-152"/>
<text text-anchor="start" x="349" y="-159.8" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="368,-152 368,-175 428,-175 428,-152 368,-152"/>
<text text-anchor="start" x="372" y="-159.8" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="428,-152 428,-175 471,-175 471,-152 428,-152"/>
<text text-anchor="start" x="432" y="-159.8" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="406" y="-140.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="387" y="-123.8" font-family="arial" font-size="14.00">YE</text>
<text text-anchor="start" x="431" y="-123.8" font-family="arial" font-size="14.00">X1:1</text>
<polygon fill="#ffff00" stroke="transparent" points="345,-112 345,-118 471,-118 471,-112 345,-112"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-113 470,-113 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-117 346,-117 "/>
<text text-anchor="start" x="387" y="-98.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-98.8" font-family="arial" font-size="14.00">X1:2</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-87 345,-93 471,-93 471,-87 345,-87"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-88 470,-88 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-92 346,-92 "/>
<text text-anchor="start" x="387" y="-73.8" font-family="arial" font-size="14.00">BK</text>
<text text-anchor="start" x="431" y="-73.8" font-family="arial" font-size="14.00">X1:3</text>
<polygon fill="#000000" stroke="transparent" stroke-width="2" points="345,-62 345,-68 471,-68 471,-62 345,-62"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-63 470,-63 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-67 346,-67 "/>
<text text-anchor="start" x="386.5" y="-48.8" font-family="arial" font-size="14.00">RD</text>
<text text-anchor="start" x="431" y="-48.8" font-family="arial" font-size="14.00">X1:4</text>
<polygon fill="#ff0000" stroke="transparent" stroke-width="2" points="345,-37 345,-43 471,-43 471,-37 345,-37"/>
<polyline fill="none" stroke="black" stroke-width="2" points="346,-38 470,-38 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="470,-42 346,-42 "/>
<text text-anchor="start" x="357.5" y="-23.8" font-family="arial" font-size="14.00"> </text>
</g>
<!-- F_10_1&#45;&#45;W1 -->
<g id="edge7" class="edge">
@ -135,30 +135,30 @@
<!-- W1&#45;&#45;X1 -->
<g id="edge3" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-113C529.76,-113.02 545.75,-111.02 610,-111"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M466,-115C530.01,-115 545.99,-113 610,-113"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-117C530.25,-116.98 546.24,-114.98 610,-115"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-113C534.76,-113.02 550.75,-111.02 615,-111"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M471,-115C535.01,-115 550.99,-113 615,-113"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-117C535.25,-116.98 551.24,-114.98 615,-115"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge4" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-88C529.88,-88 545.87,-87 610,-87"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-90C530,-90 546,-89 610,-89"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-92C530.13,-92 546.12,-91 610,-91"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-88C534.88,-88 550.87,-87 615,-87"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-90C535,-90 551,-89 615,-89"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-92C535.13,-92 551.12,-91 615,-91"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge5" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-63C530.13,-63 546.12,-64 610,-64"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-65C530,-65 546,-66 610,-66"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-67C529.88,-67 545.87,-68 610,-68"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-63C535.13,-63 551.12,-64 615,-64"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-65C535,-65 551,-66 615,-66"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-67C534.88,-67 550.87,-68 615,-68"/>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge6" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-38C530.38,-38.03 546.36,-41.03 610,-41"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M466,-40C530.01,-40 545.99,-43 610,-43"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M466,-42C529.64,-41.97 545.62,-44.97 610,-45"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-38C535.38,-38.03 551.36,-41.03 615,-41"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M471,-40C535.01,-40 550.99,-43 615,-43"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M471,-42C534.64,-41.97 550.62,-44.97 615,-45"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -3,7 +3,7 @@ connectors:
pinout: [+12V, GND, GND, +5V]
type: Molex 8981
subtype: female
F_10_1: # manually define a ferrule (with unique identifier)
F_10_1: # manually define a ferrule (with unique designator)
category: ferrule
type: Ferrule, crimp
subtype: 1.0 mm²
@ -19,7 +19,7 @@ cables:
W1:
category: bundle # budnle
length: 0.3
gauge: 0.5 mm
gauge: 0.5 mm2
colors: [YE, BK, BK, RD] # custom colors, wirecount is implicit
connections:

View File

@ -1,3 +1,4 @@
## Daisy chaining (II)
* Zig-zag daisy chain
* Convenient for longer chains