Draw Stackup
Draw the PCB stackup. Needs KiCad 7 or newer.
To specify the position and size of the drawing you can use two methods.
You can specify it using the pos_x, pos_y, width, height and layer options.
But you can also draw a rectangle in your PCB with the size and layer you want.
Then draw another thing inside the rectangle, select both and create a group
(right mouse button, then Grouping -> Group). Now edit the group and change its name
to kibot_stackup. After running this preflight the rectangle will contain the
stackup
draw_stackup : [DrawStackupOptions parameters] [boolean | dict] (default:
false) Use a boolean for simple cases or fine-tune its behavior.