Skip to content

Commit

Permalink
add trace_width for hints
Browse files Browse the repository at this point in the history
  • Loading branch information
imrishabh18 committed Aug 14, 2024
1 parent 4501cab commit ba4573b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/pcb/pcb_trace_hint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const pcb_trace_hint = z
pcb_port_id: z.string(),
pcb_component_id: z.string(),
route: z.array(route_hint_point.optional()),
trace_width: distance.optional(),
})
.describe("A hint that can be used to generate a PCB trace")

Expand Down
1 change: 1 addition & 0 deletions src/pcb/properties/route_hint_point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const route_hint_point = z.object({
y: distance,
via: z.boolean().optional(),
to_layer: layer_ref.optional(),
trace_width: distance.optional(),
})

export type RouteHintPoint = z.infer<typeof route_hint_point>
Expand Down

0 comments on commit ba4573b

Please sign in to comment.