#267 SVGs in git are a bit of mess
Closed: Rejected None Opened 9 years ago by churchyard.

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.


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

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.

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

7 years ago

Login to comment on this ticket.

Metadata
Attachments 2
Attached 9 years ago View Comment
Attached 9 years ago View Comment