Schemas / Circuit / PCB

rig.pcb.track

v1.0.0 · stable maturity: draft 2 fields 1 required

Fields

FieldTypeMeaning
width float required Copper width
net entity optional Optional. rig.circuit.net; absent or none = no net

Copper conductor. Format when present.

The path is rig.geometry.line (straight segment) or rig.geometry.arc (circular arc, equal radii) on the same entity, in board coordinates. The layer is rig.pcb.layer_set with one copper layer.

Required: width.

Copper width is a fabrication fact, not paint - do not mirror it into rig.paint.fill_stroke strokeWidth. Draw colour comes from the layer. Arc direction carries no meaning on a board; a writer may emit the sweep either way.

JSON Schema

Resolves at https://rig.works/schemas/rig.pcb.track.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.pcb.track.schema.json",
  "title": "rig.pcb.track",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "width": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "net": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    }
  },
  "required": [
    "width"
  ],
  "x-rig-maturity": "draft"
}

Seen in

kicad-pcb.json