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

Can't seem to get it to work on my gerbers. #367

Open
bryancostanich opened this issue Jul 14, 2021 · 2 comments
Open

Can't seem to get it to work on my gerbers. #367

bryancostanich opened this issue Jul 14, 2021 · 2 comments

Comments

@bryancostanich
Copy link

Hey folks, apologies in advance if I'm totally messing up the usage of this, but I'm trying out the gerber-to-svg stuff to turn a gerber from EasyEDA into something that I can laser on my glowforge and am really struggling.

I have these AISU_Gerbers.zip and i'm specifically trying to convert the Gerber_TopPasteMaskLayer.GTP to an SVG. I've used both the tracespace.io site (which is very nice, by the way), and gerber-to-svg from the command line and I'm getting the same output. When I import into the glowforge app, i'm seeing incomplete shapes:

Screen Shot 2021-07-14 at 3 29 01 PM

When I opened up in figma, they appear like maybe they're correct.

Screen Shot 2021-07-14 at 3 30 11 PM

Except that they're all filled. And the entire SVG is very small, 2.38 x 2.02 pixels, in fact.

So after making it much bigger so i could examine it, I'm noticing some other funky things. The first is that the stroke width for all the shapes have a thickness of 0:

Screen Shot 2021-07-14 at 3 34 22 PM

Removing the fill and changing the stroke width to 1, i see that some of them are in fact, incomplete outlines:

Screen Shot 2021-07-14 at 3 35 10 PM

Any idea of what i'm doing wrong here?

@kasbah
Copy link
Collaborator

kasbah commented Jul 15, 2021

Not sure what's going on with gerber-to-svg there but just in the interest of getting you the SVGs you want. Have you tried gerbv and printing to SVG?

@kasbah
Copy link
Collaborator

kasbah commented Jul 15, 2021

I printed the paste and outline layer with gerbv in case it saves you some time: gerbv-print.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants