WireViz/tutorial/tutorial05.html
Daniel Rojas 2f737c2371 Prepare for refactoring (squashed commit)
no diff should ocurr as a result of the refactoring

Add `metadata.title` to `demo01.yml`

to avoid diffs later when calling via CLI

Add temporary loop to `demo01`

for debugging purposes

Add `cleanup.sh` (maybe move/delete later? or add commit hook?)

Deprecate Python 3.7, add Python 3.10

Add `devtools.txt`

Add `pyan` to `devtools.txt`

Add sample use to `devtools.txt`
2025-03-01 19:41:27 +01:00

272 lines
16 KiB
HTML
Generated
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="UTF-8">
<meta name="generator" content="WireViz 0.4-dev - https://github.com/formatc1702/WireViz">
<title>tutorial05</title>
<style>
#bom table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
#bom th, td {
padding: 4px;
text-align: left;
}
.bom_col_qty {
text-align: right;
}
</style>
</head><body style="font-family:arial;background-color:#ffffff">
<h1>tutorial05</h1>
<h2>Diagram</h2>
<div id="description">
<!-- %description% -->
</div>
<div id="diagram">
<!-- XML and DOCTYPE declarations from SVG file removed -->
<!-- Generated by graphviz version 2.49.1 (20210923.0004)
-->
<!-- Pages: 1 -->
<svg width="793pt" height="215pt"
viewBox="0.00 0.00 793.00 214.50" 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 210.5)">
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-210.5 789,-210.5 789,4 -4,4"/>
<!-- AUTOGENERATED_F1_1 -->
<g id="node1" class="node">
<title>AUTOGENERATED_F1_1</title>
<polygon fill="#ffffff" stroke="black" points="187,-164 0,-164 0,-141 187,-141 187,-164"/>
<polygon fill="none" stroke="black" points="0.5,-140.5 0.5,-163.5 89.5,-163.5 89.5,-140.5 0.5,-140.5"/>
<text text-anchor="start" x="4.5" y="-148.3" font-family="arial" font-size="14.00">Crimp ferrule</text>
<polygon fill="none" stroke="black" points="89.5,-140.5 89.5,-163.5 149.5,-163.5 149.5,-140.5 89.5,-140.5"/>
<text text-anchor="start" x="93.5" y="-148.3" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="149.5,-140.5 149.5,-163.5 179.5,-163.5 179.5,-140.5 149.5,-140.5"/>
<text text-anchor="start" x="153.5" y="-148.3" font-family="arial" font-size="14.00">OG</text>
<polygon fill="#ff8000" stroke="transparent" points="179.5,-140.5 179.5,-163.5 187.5,-163.5 187.5,-140.5 179.5,-140.5"/>
<polygon fill="none" stroke="black" points="179.5,-140.5 179.5,-163.5 187.5,-163.5 187.5,-140.5 179.5,-140.5"/>
</g>
<!-- W1 -->
<g id="node6" class="node">
<title>W1</title>
<polygon fill="#ffffff" stroke="black" stroke-dasharray="5,2" points="469,-206.5 331,-206.5 331,-22.5 469,-22.5 469,-206.5"/>
<polygon fill="none" stroke="black" points="331,-183.5 331,-206.5 469,-206.5 469,-183.5 331,-183.5"/>
<text text-anchor="start" x="389.5" y="-191.3" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="331,-160.5 331,-183.5 358,-183.5 358,-160.5 331,-160.5"/>
<text text-anchor="start" x="337" y="-168.3" font-family="arial" font-size="14.00">4x</text>
<polygon fill="none" stroke="black" points="358,-160.5 358,-183.5 422,-183.5 422,-160.5 358,-160.5"/>
<text text-anchor="start" x="364" y="-168.3" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="422,-160.5 422,-183.5 469,-183.5 469,-160.5 422,-160.5"/>
<text text-anchor="start" x="427.5" y="-168.3" font-family="arial" font-size="14.00">0.3 m</text>
<text text-anchor="start" x="333" y="-147.3" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="342" y="-128.3" font-family="arial" font-size="14.00"> &#160;&#160;&#160;&#160;YE &#160;&#160;&#160;</text>
<text text-anchor="start" x="401" y="-128.3" font-family="arial" font-size="14.00">X1:1:+12V</text>
<polygon fill="#000000" stroke="transparent" points="331,-120.5 331,-122.5 469,-122.5 469,-120.5 331,-120.5"/>
<polygon fill="#ffff00" stroke="transparent" points="331,-118.5 331,-120.5 469,-120.5 469,-118.5 331,-118.5"/>
<polygon fill="#000000" stroke="transparent" points="331,-116.5 331,-118.5 469,-118.5 469,-116.5 331,-116.5"/>
<text text-anchor="start" x="342" y="-103.3" font-family="arial" font-size="14.00"> &#160;&#160;&#160;&#160;BK &#160;&#160;&#160;</text>
<text text-anchor="start" x="402" y="-103.3" font-family="arial" font-size="14.00">X1:2:GND</text>
<polygon fill="#000000" stroke="transparent" points="331,-95.5 331,-97.5 469,-97.5 469,-95.5 331,-95.5"/>
<polygon fill="#000000" stroke="transparent" points="331,-93.5 331,-95.5 469,-95.5 469,-93.5 331,-93.5"/>
<polygon fill="#000000" stroke="transparent" points="331,-91.5 331,-93.5 469,-93.5 469,-91.5 331,-91.5"/>
<text text-anchor="start" x="342" y="-78.3" font-family="arial" font-size="14.00"> &#160;&#160;&#160;&#160;BK &#160;&#160;&#160;</text>
<text text-anchor="start" x="402" y="-78.3" font-family="arial" font-size="14.00">X1:3:GND</text>
<polygon fill="#000000" stroke="transparent" points="331,-70.5 331,-72.5 469,-72.5 469,-70.5 331,-70.5"/>
<polygon fill="#000000" stroke="transparent" points="331,-68.5 331,-70.5 469,-70.5 469,-68.5 331,-68.5"/>
<polygon fill="#000000" stroke="transparent" points="331,-66.5 331,-68.5 469,-68.5 469,-66.5 331,-66.5"/>
<text text-anchor="start" x="341" y="-53.3" font-family="arial" font-size="14.00"> &#160;&#160;&#160;&#160;RD &#160;&#160;&#160;</text>
<text text-anchor="start" x="405" y="-53.3" font-family="arial" font-size="14.00">X1:4:+5V</text>
<polygon fill="#000000" stroke="transparent" points="331,-45.5 331,-47.5 469,-47.5 469,-45.5 331,-45.5"/>
<polygon fill="#ff0000" stroke="transparent" points="331,-43.5 331,-45.5 469,-45.5 469,-43.5 331,-43.5"/>
<polygon fill="#000000" stroke="transparent" points="331,-41.5 331,-43.5 469,-43.5 469,-41.5 331,-41.5"/>
<text text-anchor="start" x="333" y="-28.3" font-family="arial" font-size="14.00"> </text>
</g>
<!-- AUTOGENERATED_F1_1&#45;&#45;W1 -->
<g id="edge1" class="edge">
<title>AUTOGENERATED_F1_1:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-150.5C250.79,-151.78 263.47,-118.78 331,-117.5"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M187,-152.5C252.66,-152.5 265.34,-119.5 331,-119.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-154.5C254.53,-153.22 267.21,-120.22 331,-121.5"/>
</g>
<!-- AUTOGENERATED_F1_2 -->
<g id="node2" class="node">
<title>AUTOGENERATED_F1_2</title>
<polygon fill="#ffffff" stroke="black" points="187,-117 0,-117 0,-94 187,-94 187,-117"/>
<polygon fill="none" stroke="black" points="0.5,-93.5 0.5,-116.5 89.5,-116.5 89.5,-93.5 0.5,-93.5"/>
<text text-anchor="start" x="4.5" y="-101.3" font-family="arial" font-size="14.00">Crimp ferrule</text>
<polygon fill="none" stroke="black" points="89.5,-93.5 89.5,-116.5 149.5,-116.5 149.5,-93.5 89.5,-93.5"/>
<text text-anchor="start" x="93.5" y="-101.3" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="149.5,-93.5 149.5,-116.5 179.5,-116.5 179.5,-93.5 149.5,-93.5"/>
<text text-anchor="start" x="153.5" y="-101.3" font-family="arial" font-size="14.00">OG</text>
<polygon fill="#ff8000" stroke="transparent" points="179.5,-93.5 179.5,-116.5 187.5,-116.5 187.5,-93.5 179.5,-93.5"/>
<polygon fill="none" stroke="black" points="179.5,-93.5 179.5,-116.5 187.5,-116.5 187.5,-93.5 179.5,-93.5"/>
</g>
<!-- AUTOGENERATED_F1_2&#45;&#45;W1 -->
<g id="edge3" class="edge">
<title>AUTOGENERATED_F1_2:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-103.5C250.04,-103.86 265.66,-92.86 331,-92.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-105.5C251.19,-105.5 266.81,-94.5 331,-94.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-107.5C252.34,-107.14 267.96,-96.14 331,-96.5"/>
</g>
<!-- AUTOGENERATED_F1_3 -->
<g id="node3" class="node">
<title>AUTOGENERATED_F1_3</title>
<polygon fill="#ffffff" stroke="black" points="187,-70 0,-70 0,-47 187,-47 187,-70"/>
<polygon fill="none" stroke="black" points="0.5,-46.5 0.5,-69.5 89.5,-69.5 89.5,-46.5 0.5,-46.5"/>
<text text-anchor="start" x="4.5" y="-54.3" font-family="arial" font-size="14.00">Crimp ferrule</text>
<polygon fill="none" stroke="black" points="89.5,-46.5 89.5,-69.5 149.5,-69.5 149.5,-46.5 89.5,-46.5"/>
<text text-anchor="start" x="93.5" y="-54.3" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="149.5,-46.5 149.5,-69.5 179.5,-69.5 179.5,-46.5 149.5,-46.5"/>
<text text-anchor="start" x="153.5" y="-54.3" font-family="arial" font-size="14.00">OG</text>
<polygon fill="#ff8000" stroke="transparent" points="179.5,-46.5 179.5,-69.5 187.5,-69.5 187.5,-46.5 179.5,-46.5"/>
<polygon fill="none" stroke="black" points="179.5,-46.5 179.5,-69.5 187.5,-69.5 187.5,-46.5 179.5,-46.5"/>
</g>
<!-- AUTOGENERATED_F1_3&#45;&#45;W1 -->
<g id="edge5" class="edge">
<title>AUTOGENERATED_F1_3:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-56.5C252.34,-56.86 267.96,-67.86 331,-67.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-58.5C251.19,-58.5 266.81,-69.5 331,-69.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-60.5C250.04,-60.14 265.66,-71.14 331,-71.5"/>
</g>
<!-- AUTOGENERATED_F1_4 -->
<g id="node4" class="node">
<title>AUTOGENERATED_F1_4</title>
<polygon fill="#ffffff" stroke="black" points="187,-23 0,-23 0,0 187,0 187,-23"/>
<polygon fill="none" stroke="black" points="0.5,0.5 0.5,-22.5 89.5,-22.5 89.5,0.5 0.5,0.5"/>
<text text-anchor="start" x="4.5" y="-7.3" font-family="arial" font-size="14.00">Crimp ferrule</text>
<polygon fill="none" stroke="black" points="89.5,0.5 89.5,-22.5 149.5,-22.5 149.5,0.5 89.5,0.5"/>
<text text-anchor="start" x="93.5" y="-7.3" font-family="arial" font-size="14.00">0.5 mm²</text>
<polygon fill="none" stroke="black" points="149.5,0.5 149.5,-22.5 179.5,-22.5 179.5,0.5 149.5,0.5"/>
<text text-anchor="start" x="153.5" y="-7.3" font-family="arial" font-size="14.00">OG</text>
<polygon fill="#ff8000" stroke="transparent" points="179.5,0.5 179.5,-22.5 187.5,-22.5 187.5,0.5 179.5,0.5"/>
<polygon fill="none" stroke="black" points="179.5,0.5 179.5,-22.5 187.5,-22.5 187.5,0.5 179.5,0.5"/>
</g>
<!-- AUTOGENERATED_F1_4&#45;&#45;W1 -->
<g id="edge7" class="edge">
<title>AUTOGENERATED_F1_4:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-9.5C254.53,-10.78 267.21,-43.78 331,-42.5"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M187,-11.5C252.66,-11.5 265.34,-44.5 331,-44.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M187,-13.5C250.79,-12.22 263.47,-45.22 331,-46.5"/>
</g>
<!-- X1 -->
<g id="node5" class="node">
<title>X1</title>
<polygon fill="#ffffff" stroke="black" points="785,-174.5 613,-174.5 613,-36.5 785,-36.5 785,-174.5"/>
<polygon fill="none" stroke="black" points="613,-151.5 613,-174.5 785,-174.5 785,-151.5 613,-151.5"/>
<text text-anchor="start" x="690" y="-159.3" font-family="arial" font-size="14.00">X1</text>
<polygon fill="none" stroke="black" points="613,-128.5 613,-151.5 694,-151.5 694,-128.5 613,-128.5"/>
<text text-anchor="start" x="617" y="-136.3" font-family="arial" font-size="14.00">Molex 8981</text>
<polygon fill="none" stroke="black" points="694,-128.5 694,-151.5 745,-151.5 745,-128.5 694,-128.5"/>
<text text-anchor="start" x="698" y="-136.3" font-family="arial" font-size="14.00">female</text>
<polygon fill="none" stroke="black" points="745,-128.5 745,-151.5 785,-151.5 785,-128.5 745,-128.5"/>
<text text-anchor="start" x="749" y="-136.3" font-family="arial" font-size="14.00">4&#45;pin</text>
<polygon fill="none" stroke="black" points="613,-105.5 613,-128.5 686,-128.5 686,-105.5 613,-105.5"/>
<text text-anchor="start" x="645.5" y="-113.3" font-family="arial" font-size="14.00">1</text>
<polygon fill="none" stroke="black" points="686,-105.5 686,-128.5 785,-128.5 785,-105.5 686,-105.5"/>
<text text-anchor="start" x="718.5" y="-113.3" font-family="arial" font-size="14.00">+12V</text>
<polygon fill="none" stroke="black" points="613,-82.5 613,-105.5 686,-105.5 686,-82.5 613,-82.5"/>
<text text-anchor="start" x="645.5" y="-90.3" font-family="arial" font-size="14.00">2</text>
<polygon fill="none" stroke="black" points="686,-82.5 686,-105.5 785,-105.5 785,-82.5 686,-82.5"/>
<text text-anchor="start" x="719.5" y="-90.3" font-family="arial" font-size="14.00">GND</text>
<polygon fill="none" stroke="black" points="613,-59.5 613,-82.5 686,-82.5 686,-59.5 613,-59.5"/>
<text text-anchor="start" x="645.5" y="-67.3" font-family="arial" font-size="14.00">3</text>
<polygon fill="none" stroke="black" points="686,-59.5 686,-82.5 785,-82.5 785,-59.5 686,-59.5"/>
<text text-anchor="start" x="719.5" y="-67.3" font-family="arial" font-size="14.00">GND</text>
<polygon fill="none" stroke="black" points="613,-36.5 613,-59.5 686,-59.5 686,-36.5 613,-36.5"/>
<text text-anchor="start" x="645.5" y="-44.3" font-family="arial" font-size="14.00">4</text>
<polygon fill="none" stroke="black" points="686,-36.5 686,-59.5 785,-59.5 785,-36.5 686,-36.5"/>
<text text-anchor="start" x="722.5" y="-44.3" font-family="arial" font-size="14.00">+5V</text>
</g>
<!-- W1&#45;&#45;X1 -->
<g id="edge2" class="edge">
<title>W1:e&#45;&#45;X1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-117.5C532.76,-117.52 548.75,-115.52 613,-115.5"/>
<path fill="none" stroke="#ffff00" stroke-width="2" d="M469,-119.5C533.01,-119.5 548.99,-117.5 613,-117.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-121.5C533.25,-121.48 549.24,-119.48 613,-119.5"/>
</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="M469,-92.5C532.88,-92.5 548.87,-91.5 613,-91.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-94.5C533,-94.5 549,-93.5 613,-93.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-96.5C533.13,-96.5 549.12,-95.5 613,-95.5"/>
</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="M469,-67.5C533.13,-67.5 549.12,-68.5 613,-68.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-69.5C533,-69.5 549,-70.5 613,-70.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-71.5C532.88,-71.5 548.87,-72.5 613,-72.5"/>
</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="M469,-42.5C533.38,-42.53 549.36,-45.53 613,-45.5"/>
<path fill="none" stroke="#ff0000" stroke-width="2" d="M469,-44.5C533.01,-44.5 548.99,-47.5 613,-47.5"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M469,-46.5C532.64,-46.47 548.62,-49.47 613,-49.5"/>
</g>
</g>
</svg>
</div>
<div id="notes">
<!-- %notes% -->
</div>
<h2>Bill of Materials</h2>
<div id="bom">
<table class="bom">
<tr>
<th class="bom_col_id">Id</th>
<th class="bom_col_description">Description</th>
<th class="bom_col_qty">Qty</th>
<th class="bom_col_unit">Unit</th>
<th class="bom_col_designators">Designators</th>
</tr>
<tr>
<td class="bom_col_id">1</td>
<td class="bom_col_description">Connector, Crimp ferrule, 0.5 mm², OG</td>
<td class="bom_col_qty">4</td>
<td class="bom_col_unit"></td>
<td class="bom_col_designators"></td>
</tr>
<tr>
<td class="bom_col_id">2</td>
<td class="bom_col_description">Connector, Molex 8981, female, 4 pins</td>
<td class="bom_col_qty">1</td>
<td class="bom_col_unit"></td>
<td class="bom_col_designators">X1</td>
</tr>
<tr>
<td class="bom_col_id">3</td>
<td class="bom_col_description">Wire, 0.5 mm², BK</td>
<td class="bom_col_qty">0.6</td>
<td class="bom_col_unit">m</td>
<td class="bom_col_designators">W1</td>
</tr>
<tr>
<td class="bom_col_id">4</td>
<td class="bom_col_description">Wire, 0.5 mm², RD</td>
<td class="bom_col_qty">0.3</td>
<td class="bom_col_unit">m</td>
<td class="bom_col_designators">W1</td>
</tr>
<tr>
<td class="bom_col_id">5</td>
<td class="bom_col_description">Wire, 0.5 mm², YE</td>
<td class="bom_col_qty">0.3</td>
<td class="bom_col_unit">m</td>
<td class="bom_col_designators">W1</td>
</tr>
</table>
</div>
</body></html>