You only need to load the svgs you want to change, although that may be all of them if you add connectors, because connectors need to be defined in all three views. As well your best bet is to save the svg as plain svg (Inkscape svg is the default and sometimes Fritizng doesn’t like the additions!) like this
and as noted then either run FritzingCheckPart.py or manually edit the svg file with a text editor to remove the px from font-size (which Inkscape adds for CSS compliance and which Fritzing objects to.) FritzingCheckPart.py if run against the .fzp file will also flag errors in the part definition (it can also process svg files, but without the .fzp can’t flag errors.) As noted if you add connectors you also need to define the connector in the .fzp file before it will be recognized. To do it via a text editor you need to change
I usually use a global replace to do it but you do need to check you don’t have any instances of px which aren’t in a font size as the global replace will do all of them and may make unintended changes. Always happy to help people learn to make parts we need more people that can do so!
is this a separate software, or a plugin within inkscape.
yeah i’m hoping i can learn, and maybe be able to help others on this forum eventually. you all have been extremely helpful, and very quick with your responses. which is very helpful
ok got home from work. i got files to unzip. i pulled a schematic view up and edited just a little bit. i hit “save as” and now im downloading the. Fritzigchechpart program.
so i open it up in here, and then what happens next?
You will need python on and lxml on your machine. The instructions are in the readme on github. I usually use cygwin, but there is also a Windows version of python3 available and that should work as well.
im not familiar with python 3. i know a little arduino IDE a little.
but i’m sorry i’m still having trouble wrapping my head around this line program step. is this converting the file so fritzing can read it ? am i importing a file into python and then sending it somewhere? i apologize for being a little slow at picking this up
The script is reading the xml and svg files and checking between the fzp file and the various svgs and flagging errors that it finds. Since it is dealing with the xml, it will issue error messages that reference the xml, and you need to be familiar enough with the xml to figure out what they mean (which isn’t particularly easy.) Your best bet is likely to post the error message and the .fzpz file that produced it and I can tell you what is wrong and how to fix it. If you are unfamiliar with python, getting lxml installed (it isn’t loaded by default) may be a little exciting. Uploading your .fzpz file here (upload is 7th icon from the left in the reply menu) may be your best bet and I can run it through FritzingCheckPart.py and tell you how to fix the errors.