Sorry to too late reply. Please be bless you your ankle. A above image error was fixed in my github repo.
If should upload it here, I will upload a new version.
I tried your check script and then I encountered some warning/errors. But I can’t find those solve solutions in macOS/Illustrator CC’s SVG export.
warning/errors are:
Height 39.49px is defined in px
in or mm is a better option (px can cause scaling problems!)
Width 36.755px is defined in px
in or mm is a better option (px can cause scaling problems!)
Found a drawing element before a layerId (or no layerId)
I am also encounting some drawings are deviated after create a part from svg. I guess it is caused by above warning/errors.
What are you using vector software to edit Fritzing parts?
Thanks to read.