Open JarrettR opened 6 years ago
Have you tried this against my development branch? It's a while since I worked on the path maths but I made some changes to the bezier handling and it's possible that it fixes the issue you see there...
That's the branch I'm using, actually, should have mentioned. Didn't consider that gerber generation could have changed, my bad.
weirdly your initial svg has a z on the end and this should have joined it back up to make a closed path. So probably the SVG is not being interpreted correctly...?
Sorry for the late response. @Neon22 is correct. The 'z' at the end is not dealt with appropriately by PCBmodE. What I do is split one of the 'offending' nodes using the 'Break path' tool. That's it. Now it should appear closed on the Gerber.
I'm starting to work on the next version of PCBmodE at branch cinco-master
. This is definately something to fix as part of the SVG processing review.
I think this is a gerber output error. I haven't delved into it much, so I'm not sure whether this error is a bug in the viewer, the generator, the SVG parser, etc. Either way, it is a compatibility issue.
The outline of my board is:
The OSHPark gerber viewer displays:
As you can see, it is not watertight. That's the beginning/end point of the SVG path at the top.
I hacked on a straight line to very end of the SVG, going back to the origin:
This doesn't seem to have an effect on the path (before / after images look identical):
OSHPark's gerber viewer now shows:
Good enough! (tm)
I'll have full board files up on Github eventually, but I suspect that any board with the outline I've posted will do the same thing if someone wants to reproduce.