Generally, the majority of badges is located in the middle of a square canvas/page - see apprentice-wordsmith.svg as an example. The size of the badge relatively to the canvas is the same in the majority of the svgs. See badge-shape.svg for an idea.
However there are some badges that does not follow this pattern. This makes it hard for batch processing. See attached screenshot.
Also it seems not all badges have their SVGs in git.
Please collect the remaining svgs and make the svgs more predictable by following the pattern most do.
attachment <img alt="badge-shape.png" src="//issue/raw/files/e9242c1bc17eb06e7fec661675bd9476ed983318e3c874e73eb6e78df8b032c7-badge-shape.png" />
attachment <img alt="badge-shape.png" src="https://pagure.io/Fedora-Badges/issue/raw/files/e9242c1bc17eb06e7fec661675bd9476ed983318e3c874e73eb6e78df8b032c7-badge-shape.png" />
And having all the svgs in order will allow us to do batch processing to turn them into stl files (3d printer inputs), like this:
https://badges.stg.fedoraproject.org/badge/vacation/stl
The scripts to do that are here where you can see we start from the svg of a single badge, https://git.fedorahosted.org/cgit/badges.git/tree/bin/export.sh#n16
Ticket is two years old and the same thing that Ralph mentioned above is still relevant to today. For any missing SVGs, we should probably tackle those on a 1x1 basis in the original ticket for the badge since most of them are present.
I'm going to go ahead and close this ticket.
Metadata Update from @churchyard: - Issue tagged with: svg
Login to comment on this ticket.