Schemas / Circuit / PCB
rig.pcb.zone
v1.0.0 · stable maturity: draft 7 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
net |
entity | optional | Optional. rig.circuit.net the pour connects to; absent or none = isolated copper |
priority |
int | optional | Optional. Higher fills first where pours overlap; absent = 0 |
clearance |
float | optional | Optional. Gap to other copper; absent = board rule |
minThickness |
float | optional | Optional. Narrowest copper the fill may leave; absent = board rule |
connection |
enumthermal · solid · none · through-hole-only | optional | Optional. thermal, solid, none, through-hole-only (thermal on through-hole pads, solid on SMD); absent = thermal |
thermalGap |
float | optional | Optional. Gap around a thermal-relief pad; absent = board rule |
thermalSpokeWidth |
float | optional | Optional. Thermal-relief spoke width; absent = board rule |
Copper pour. Format when present.
The outline is rig.geometry.polygon on the same entity, in board coordinates (or part-local under a footprint). Layers are rig.pcb.layer_set. A rule area with no copper composes rig.pcb.keepout instead of, or as well as, this component.
Filled polygons are a host cache: the outline, net, and rules above determine them, and a tool refills on load. Do not serialize them. Hatched fills and island removal stay in the source file for now (rig.pcb.board source).
JSON Schema
Resolves at https://rig.works/schemas/rig.pcb.zone.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.pcb.zone.schema.json",
"title": "rig.pcb.zone",
"type": "object",
"additionalProperties": false,
"properties": {
"net": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"priority": {
"$ref": "./_defs.schema.json#/$defs/int"
},
"clearance": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"minThickness": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"connection": {
"type": "string",
"enum": [
"thermal",
"solid",
"none",
"through-hole-only"
]
},
"thermalGap": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"thermalSpokeWidth": {
"$ref": "./_defs.schema.json#/$defs/float"
}
},
"x-rig-maturity": "draft"
}