We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2143e3c commit be86628Copy full SHA for be86628
1 file changed
InteractiveHtmlBom/ecad/kicad.py
@@ -223,7 +223,8 @@ def parse_shape(self, d):
223
"angle": angle,
224
"polygons": polygons
225
}
226
- if hasattr(d, "IsFilled") and not d.IsFilled():
+ if ((hasattr(d, "IsFilled") and not d.IsFilled()) or
227
+ (hasattr(d, "IsSolidFill") and not d.IsSolidFill())):
228
shape_dict["filled"] = 0
229
shape_dict["width"] = d.GetWidth() * 1e-6
230
return shape_dict
0 commit comments