Pads and Vias
VIA Via
Vias are generally used to connect circuits between different layers. For multi-layer boards, there are generally the following modes: Through-hole: from start layer to end layer, through top and bottom. Blind via: only one of start layer or end layer is top or bottom. Buried via: neither start layer nor end layer is top or bottom.
json
{ "type": "VIA", "id":"UUID", "ticket": 1 }||
{
"partitionId":null,
"groupId":0,
"locked":1,
"zIndex":3.223,
"netName":"GND",
"ruleName":"asdf",
"centerX":100,
"centerY":200,
"holeDiameter":5,
"viaDiameter":9,
"viaType":0,
"topSolderExpansion":null,
"bottomSolderExpansion":null,
"unusedInnerLayers":[17],
}|1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- type via
VIA. - id primitive ID, unique within the document.
- ticket logical clock.
- partitionId partition ID it belongs to, null means no partition. Ignored for footprints.
- groupId group ID: 0 no group, non-zero is the group flag, same flag means same group.
- locked whether locked.
- zIndex Z-axis height.
- netName NET.
- ruleName via layer type: design rule name, defines start and end layers of the via.
- centerX coordinate X.
- centerY coordinate Y.
- holeDiameter hole diameter.
- viaDiameter pad diameter.
- viaType via type: 0 normal via, 1 stitching via.
- topSolderExpansion top solder mask expansion:
nullmeans follow rule. - bottomSolderExpansion bottom solder mask expansion:
nullmeans follow rule. - unusedInnerLayers hidden pad layers (optional): array of layers where pads are hidden.
PAD Pad
Pads are generally used for soldering components to the circuit board. Pads either run through the entire board or only on the top or bottom layer, so there are only top, bottom, and multi-layer options.
json
{ "type": "PAD", "id":"UUID", "ticket": 1 }||
{
"partitionId":null,
"groupId":0,
"locked":1,
"zIndex":6.234,
"netName":"GND",
"layerId":0,
"num":"1",
"centerX":100,
"centerY":200,
"padAngle":15,
"hole":["reference hole"],
"defaultPad":["reference pad"],
"specialPad":[[0, 1, ["reference pad"]]],
"padOffsetX":10,
"padOffsetY":-5,
"relativeAngle":30,
"plated":1,
"padType":null,
"topSolderExpansion":0.5,
"bottomSolderExpansion":0.4,
"topPasteExpansion":null,
"bottomPasteExpansion":0,
"connectMode":0,
"spokeSpace":10,
"spokeWidth":5,
"spokeAngle":45,
"unusedInnerLayers":[15, 17],
}|1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- type pad
PAD. - id primitive ID, unique within the document.
- ticket logical clock.
- partitionId partition ID it belongs to, null means no partition. Ignored for footprints.
- groupId group ID: 0 no group, non-zero is the group flag, same flag means same group.
- locked whether locked.
- zIndex Z-axis height.
- netName net.
- layerId layer (only top, bottom, multi-layer).
- num pad number.
- centerX pad origin X.
- centerY pad origin Y.
- padAngle pad rotation angle.
- hole hole: reference hole,
nullmeans no hole. - defaultPad default pad: reference pad.
- specialPad special pads (multiple groups, each group defined as follows).
- start layer.
- end layer.
- reference pad.
- padOffsetX hole offset X.
- padOffsetY hole offset Y.
- relativeAngle hole rotation relative to pad.
- plated whether plated hole wall.
- padType pad function: 0 normal pad, 1 test point, 2 fiducial.
- topSolderExpansion top solder mask expansion:
nullmeans follow rule. - bottomSolderExpansion bottom solder mask expansion:
nullmeans follow rule. - topPasteExpansion top paste mask expansion:
nullmeans follow rule. - bottomPasteExpansion bottom paste mask expansion:
nullmeans follow rule. - connectMode thermal relief - connection mode:
nullmeans follow rule, other data same as design rules. - spokeSpace thermal relief - spoke spacing:
nullmeans follow rule, other data same as design rules. - spokeWidth thermal relief - spoke width:
nullmeans follow rule, other data same as design rules. - spokeAngle thermal relief - spoke angle:
nullmeans follow rule, other data same as design rules. - unusedInnerLayers hidden pad layers (optional): array of layers where pads are hidden.
Hole
- Slot hole
- Slot hole
ROUND - width
- height
- Slot hole
- Square hole
- Square hole
RECT - width
- height
- Square hole
Pad
Hole rotation and pad rotation are independent.
- Oblong pad
- Oblong pad
ROUND - width
- height
- Oblong pad
- Square pad
- Square pad
RECT - width
- height
- corner radius
- Square pad
- Regular polygon pad
- Regular polygon pad
NGON(name from 3DSMAX) - diameter
- number of sides (> 2)
- Regular polygon pad
- Polygon pad
- Polygon pad
POLY - reference complex polygon, relative position to hole as origin
- Polygon pad