Skip to content

Instantly share code, notes, and snippets.

@formatc1702
Created July 11, 2020 09:39
Show Gist options
  • Save formatc1702/bc2b7ec553f21e9c2b86b4f620d383f6 to your computer and use it in GitHub Desktop.
Save formatc1702/bc2b7ec553f21e9c2b86b4f620d383f6 to your computer and use it in GitHub Desktop.
Test long connection sets in WireViz
connectors:
X1: &proper
type: proper connector
pincount: 4
F1:
autogenerate: true
# category: ferrule
pincount: 1
color: PK
F2:
autogenerate: true
# category: ferrule
pincount: 1
color: VT
X2:
<<: *proper
cables:
W1:
wirecount: 4
color_code: IEC
W2:
category: bundle
wirecount: 4
color_code: DIN
W3:
wirecount: 4
colors: [RD, YE, GN, BU]
W99:
wirecount: 2
connections:
- # very long connection list, alternating connectors and cables
- X1: [1-4] # connector, as usual
- W1: [2,1,4,3] # wire, as usual
- [F1, F1, F1, F2] # list of ferrules, may be different types
- W2: [1-4]
- F2 # single ferrule, will be auto-duplicated
- W3: [2-4,1]
- X2: [1-4]
-
- X1: [1-2]
- W99: [1-2]
- X2: [1-2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment