Stackup Layers
The layer
statement inside a pcb-stackup
declares a layer within the stackup.
Syntax
layer(size, material)
layer (size, material)
layer(size, material, "name")
val layer-name = layer "name" (size, material)
The optional name
string argument in double-quote defines the name of the stackup layer.
The size
argument defines the vertical height of the layer of the stackup, in millimeters.
The material
parameter associates a pcb-material
definition with the layer.
The layer
statement returns the reference to the layer (see layer-name
in the example above) for later use.