Creating a new part does not work

Hi,

I’m new with Fritzing and I’m trying to create a new part (motor driver) based on L298. It’s quite frustrating because nothing works as documented. The new part created is identical to the original, none of the modifications I did are there. I tried to regenerate the parts db but I get an error “Impossible to delete file parts.db”. When I delete it manually I get the error “Impossible to copy …”. Does someone can help ?

OS : Windows 11 64bits

Thanks !

How did you do the modifications? Assuming parts editor, you need to modify the svgs then load them back in to parts editor via File->Load image for view. If you don’t do that the part will be an identical copy of whatever you cloned it from with a new moduleId. These two parts creation tutorials (which is quite complex) apply to current Fritzing versions (many of the others are for older versions of Fritzing):

I lately learned there aren’t links to the videos in Old_Grey’s tutorial so you need to do a google search for the title and then they come up on YouTube.

If you are running a current version of Fritzing (1.0.3, or 1.0.4 just released) the data base rebuild needs to be done as administrator as I recall (I haven’t done it for a while), that said you normally don’t need to regenerate the parts database as it mostly applies to core parts not user supplied parts (the loader will deal with loading your new part in to the mine parts bin.) As well there are several versions of the L298 motor driver around already. A google search of the form “fritzing part L298 motor driver” should find them.

Peter

Thank you very much Peter. I’ve been able to edit the part in XML, which is quite simple.