Hi there,
@weef just shared this excellent tool by Daniel Rojas with us. Enjoy!
– https://twitter.com/formatc1702/status/1317408923578699777
Summary
WireViz is a tool for easily documenting cables, wiring harnesses and connector pinouts. It takes plain text, YAML-formatted files as input and produces beautiful graphical output (SVG, PNG, …) thanks to GraphViz. It handles automatic BOM (Bill of Materials) creation and has a lot of extra features.
With kind regards,
Andreas.
WireWiz input file example (demo01.yml):
connectors:
X1:
type: D-Sub
subtype: female
pinlabels: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI]
X2:
type: Molex KK 254
subtype: female
pinlabels: [GND, RX, TX]
cables:
W1:
gauge: 0.25 mm2
length: 0.2
color_code: DIN
wirecount: 3
shield: true
connections:
-
- X1: [5,2,3]
- W1: [1,2,3]
- X2: [1,3,2]
-
- X1: 5
- W1: s
WireWiz image output based on description file above (demo01.png):
WireWiz BOM (Bill of Materials) output based on description file above (demo01.bom.tsv):
Item | Qty | Unit | Designators |
---|---|---|---|
Connector, D-Sub, female, 9 pins | 1 | X1 | |
Connector, Molex KK 254, female, 3 pins | 1 | X2 | |
Cable, 3 x 0.25 mm² shielded | 0.2 | m | W1 |