Skip to content

Commit

Permalink
Add PCB_FIELD drawing class, processed as text
Browse files Browse the repository at this point in the history
Fixes #439
  • Loading branch information
qu1ck committed Jan 7, 2024
1 parent a2274b4 commit 700d65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InteractiveHtmlBom/ecad/kicad.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def parse_drawing(self, d):
s = None
if d.GetClass() in ["DRAWSEGMENT", "MGRAPHIC", "PCB_SHAPE"]:
s = self.parse_shape(d)
elif d.GetClass() in ["PTEXT", "MTEXT", "FP_TEXT", "PCB_TEXT"]:
elif d.GetClass() in ["PTEXT", "MTEXT", "FP_TEXT", "PCB_TEXT", "PCB_FIELD"]:
s = self.parse_text(d)
elif (d.GetClass().startswith("PCB_DIM")
and hasattr(pcbnew, "VECTOR_SHAPEPTR")):
Expand Down

0 comments on commit 700d65d

Please sign in to comment.