Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pcb_board.thickness and pcb_board.num_layers #53

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading