Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide to generate svg from Inkscape #5

Open
PrithviRajNarendra opened this issue Nov 13, 2023 · 4 comments
Open

Guide to generate svg from Inkscape #5

PrithviRajNarendra opened this issue Nov 13, 2023 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed wontfix This will not be worked on

Comments

@PrithviRajNarendra
Copy link

First of all, thanks for this great tool! 👏

Inkscape is a good tool to generate svg art work which is also open source. Adding a guide to generate svgs from Inkscape similar to what's done for Affinity would be helpful.

@wraybowling
Copy link

wraybowling commented Mar 22, 2024

Devoted Inkscape user here. I'm actively trying to understand what's different about my file from the examples.

Edit: 5 minutes later... OK yeah it's an issue with the fact that Inkscape uses namespaced layer labels instead of changing the group ID and Gingerbread relies on the id attribute. The quick hack is to open the XML editor window, and manually change the IDs to the mandatory ones.

Screenshot 2024-03-22 at 12 51 49 AM

@wrickert
Copy link

Yeah, seems like inkscape is not useable for this tool. Thats a shame.
To add on to what wraybrwling has contributed:
Go into the XML editor (Ctrl+Shift+X) and edit the ID to have the required labels (E.G 'Edge.Cuts', 'F.Cu', etc)
This allows things to show up correctly in Gingerbread but Exporting it causes extremely low polygon images to appear in KiCAD. A 50mm image leaves Inkscape and a 0.75mm images appears (kinda) in KiCAD.
I have to assume it has to do with DPI mismatch between what Inkscape outputs and what Gingerbread expects.
I cant find any way to change this in inkscape, even exporting as a plain svg with the DPI setting at 2540 makes no change.

Any advice or tips would be very appreciated. Gingerbread seems very slick and I would dearly love to incorporate it to my workflow.

@theacodes
Copy link
Collaborator

I'm happy to accommodate Inkscape designs, but I don't have the time, energy, or desire to fight with Inkscape to figure out its quirks. I don't personally use Inkscape and have very limited, frustrating experience with it. If someone else felt like figuring out what's different between what Inkscape exports and what Gingerbread expects, I'd be happy to made changes to Gingerbread to support it.

@theacodes theacodes added enhancement New feature or request help wanted Extra attention is needed wontfix This will not be worked on labels Apr 30, 2024
@bradanlane
Copy link

bradanlane commented May 13, 2024

Given that the Svg2Shenzhen plugin for InkScape is not officially "discontinued" and it even links to Gingerbread, I guess it's time for the InkScape+Svg2Shenzhen user base to pool our resources.

I have had the inverse experience as theacodes in that my use of Infinity Designer exposed too many bugs (with layers and transformations) to be useable for my recent designs.

Time permitting, I will fork Gingerbread and start looking at the issues starting with layer IDs and then SVG resolution settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed wontfix This will not be worked on
Development

No branches or pull requests

5 participants