- Shorten `part_number` to `pn`
- Shorten `manufacturer_part_number` to `mpn`
- Show `manufacturer` and `mpn` in a single cell of the node
- Replace `manufacturer` with `'MPN'`within the node if no manufacturer is specified.
- Rearrange order of P/N fields within node
`{pn} | {manufacturer}: {mpn}`
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
connectors:
|
|
X1: &template1 # define a template for later use
|
|
type: Molex KK 254
|
|
pincount: 4
|
|
subtype: female
|
|
manufacturer: Molex # set manufacter name
|
|
mpn: 22013047 # set manufacturer part number
|
|
X2:
|
|
<<: *template1 # reuse template
|
|
pn: CON4 # set an internal part number
|
|
X3:
|
|
<<: *template1 # reuse template
|
|
|
|
cables:
|
|
W1:
|
|
wirecount: 4
|
|
length: 1
|
|
gauge: 0.25 mm2
|
|
color_code: IEC
|
|
manufacturer: CablesCo
|
|
mpn: ABC123
|
|
pn: CAB1
|
|
W2:
|
|
category: bundle
|
|
length: 1
|
|
gauge: 0.25 mm2
|
|
colors: [YE, BK, BK, RD]
|
|
manufacturer: [WiresCo,WiresCo,WiresCo,WiresCo] # set a manufacter per wire
|
|
mpn: [W1-YE,W1-BK,W1-BK,W1-RD]
|
|
pn: [WIRE1,WIRE2,WIRE2,WIRE3]
|
|
|
|
|
|
connections:
|
|
-
|
|
- X1: [1-4]
|
|
- W1: [1-4]
|
|
- X2: [1-4]
|
|
-
|
|
- X1: [1-4]
|
|
- W2: [1-4]
|
|
- X3: [1-4]
|
|
|
|
additional_bom_items:
|
|
- # define an additional item to add to the bill of materials
|
|
description: Label, pinout information
|
|
qty: 2
|
|
designators:
|
|
- X2
|
|
- X3
|
|
manufacturer: generic company
|
|
mpn: Label1
|
|
pn: Label-ID-1
|