Skip to content

Commit

Permalink
add num_layers to spec for pcb_board
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Sep 23, 2024
1 parent 5f008bc commit 3404ad8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pcb/pcb_board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -22,6 +24,8 @@ export interface PcbBoard {
pcb_board_id: string
width: Length
height: Length
thickness: Length
num_layers: number
center: Point
outline?: Point[]
}
Expand Down

0 comments on commit 3404ad8

Please sign in to comment.