Skip to content

Commit 700d65d

Browse files
committed
Add PCB_FIELD drawing class, processed as text
Fixes #439
1 parent a2274b4 commit 700d65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InteractiveHtmlBom/ecad/kicad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def parse_drawing(self, d):
351351
s = None
352352
if d.GetClass() in ["DRAWSEGMENT", "MGRAPHIC", "PCB_SHAPE"]:
353353
s = self.parse_shape(d)
354-
elif d.GetClass() in ["PTEXT", "MTEXT", "FP_TEXT", "PCB_TEXT"]:
354+
elif d.GetClass() in ["PTEXT", "MTEXT", "FP_TEXT", "PCB_TEXT", "PCB_FIELD"]:
355355
s = self.parse_text(d)
356356
elif (d.GetClass().startswith("PCB_DIM")
357357
and hasattr(pcbnew, "VECTOR_SHAPEPTR")):

0 commit comments

Comments
 (0)