Skip to content

Commit

Permalink
added optional color to fabrication note path/text
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiboSoftwareDev committed Sep 13, 2024
1 parent 1ff88e5 commit d5ed42c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pcb/pcb_fabrication_note_path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const pcb_fabrication_note_path = z
layer: visible_layer,
route: z.array(point),
stroke_width: length,
color: z.string().optional()
})
.describe(
"Defines a fabrication path on the PCB for fabricators or assemblers",
Expand Down
1 change: 1 addition & 0 deletions src/pcb/pcb_fabrication_note_text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const pcb_fabrication_note_text = z
anchor_alignment: z
.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"])
.default("center"),
color: z.string().optional()
})
.describe(
"Defines a fabrication note in text on the PCB, useful for leaving notes for assemblers or fabricators",
Expand Down

0 comments on commit d5ed42c

Please sign in to comment.