From 3404ad816e27084cf593d6c1e59e6817a76976b1 Mon Sep 17 00:00:00 2001 From: seveibar Date: Sun, 22 Sep 2024 18:15:34 -0700 Subject: [PATCH] add num_layers to spec for pcb_board --- src/pcb/pcb_board.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pcb/pcb_board.ts b/src/pcb/pcb_board.ts index 3b024a5..c680320 100644 --- a/src/pcb/pcb_board.ts +++ b/src/pcb/pcb_board.ts @@ -10,6 +10,8 @@ export const pcb_board = z width: length, height: length, center: point, + thickness: length.optional().default(1.4), + num_layers: z.number().optional().default(4), outline: z.array(point).optional(), }) .describe("Defines the board outline of the PCB") @@ -22,6 +24,8 @@ export interface PcbBoard { pcb_board_id: string width: Length height: Length + thickness: Length + num_layers: number center: Point outline?: Point[] }