I’ve seen the keepout and soldermask groups before, as well as the keepout element in fzp part definition. Also, a google search got an interesting hit for a forum post that is not accessible. The preview content says:
Fritzing how do i use < keepout> < soldermask> < outline> in …
Hi Gijs, these are not supported in part definitions at the moment, as we did not find them to be necessary. Keepout and soldermask are automatically generated by the gerber export. If you want to define your own PCB shape, then you can create a boardoutline, as described in the custom PCB shape tutorial.
Where this started though, was standard layerId properties that link the part definitions to the svg ids. Those are not always fixed values. pcb layers have specific meanings, so they are not flexible. The breadboardView and schematicView layer names, by convention are “breadboard” and “schematic”, but as far as I can tell, any value can be used, as long as the layerId attribute value in the fzp file matches the id attribute value in the svg. Initially I thought that “breadboardbreadboard” was another convention used for the actual breadboard parts. That is where I first encountered it. But I see other parts using that breadboardView layer name as well.
And it is not good when they do NOT match. The parts actually seem to look and work fine in Fritzing, but they are blank boxes when exported as svg. I do not know what gerber export would do.
I am just looking for a hint about whether the layerId in the fzp should be changed, or the id in the svg file.