Skip to content

Commit cf4a4d6

Browse files
committed
update circuit json docs
1 parent 21826b4 commit cf4a4d6

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

docs/CIRCUIT_JSON_PCB_OVERVIEW.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,24 @@ export interface PcbPlatedHoleOval {
134134
pcb_plated_hole_id: string
135135
}
136136

137-
export type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval
137+
export interface PcbHoleCircularWithRectPad {
138+
type: "pcb_plated_hole"
139+
shape: "circular_hole_with_rect_pad"
140+
hole_shape: "circle"
141+
pad_shape: "rect"
142+
hole_diameter: number
143+
rect_pad_width: number
144+
rect_pad_height: number
145+
x: Distance
146+
y: Distance
147+
layers: LayerRef[]
148+
port_hints?: string[]
149+
pcb_component_id?: string
150+
pcb_port_id?: string
151+
pcb_plated_hole_id: string
152+
}
153+
154+
export type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad
138155

139156
export interface PcbFabricationNoteText {
140157
type: "pcb_fabrication_note_text"

0 commit comments

Comments
 (0)