gerber datein invalid?
Verfasst: Donnerstag 9. Oktober 2014, 14:50
hallo,
da ich grbv (link) als 3d verber viewer nutzen wollte und ich probleme mit den gerber datein von sprint layout hatte, habe ich mal kontakt mit dem entwickler der software aufgenommen und es haben sich folgende probleme mit den gerber datein herraus gestellt:
außerdem noch ein problem mit gefüllten kreisen die nicht geschlossen sind(halbkreise etc):
meine mail an ihn:
ich würde mich übrigens über die unterstützung von "plated slots" freuen.
da ich grbv (link) als 3d verber viewer nutzen wollte und ich probleme mit den gerber datein von sprint layout hatte, habe ich mal kontakt mit dem entwickler der software aufgenommen und es haben sich folgende probleme mit den gerber datein herraus gestellt:
das entfernen der leerzeichen hat auch geholfen und die dateien wurden geladen, außerdem hat untersücktzt die neue version von gbrv die datein nun direkt, das grundproblem mit den gerber datei bleibt aber bestehen und könnte noch an deren stellen für inkompatibilität sorgrn.I believe the files are invalid according to the latest Gerber spec.
Nevertheless, I adjusted my parsing code to account for the problem.
I'll try to rebuild and upload a grbv version including the change
tonight. I'm gonna have a busy week-end, so if you don't have news in
a few days feel free to remind me.
In the meantime you can adjust your files in a text editor, by
removing the spaces in the aperture definitions.
außerdem noch ein problem mit gefüllten kreisen die nicht geschlossen sind(halbkreise etc):
meine mail an ihn:
und die antwort:i have tested some layouts and i figured out another problem.
if i use circle function and generate a ring which has not full 360° and now
the fill option, i get an error.
ich hoffe, die probleme lassen sich beseitigen.Hi,
Sorry for the late reply, I got very busy.
So I looked at your files. The problem is that your Gerber data is
invalid. But contrary to the previous problem, there is no easy and
clean workaround.
The problem lies in the G36/G37 region in your top copper file. The
Gerber specifications explains that a contour in such a region should
be closed, ie. the last point of the contour path should be on top of
the first point. But in your file this is not the case, the last point
of the contour (the point that closes it) comes after the G37
directive which turns region mode off. So in other words your software
knows it should close contours, but a bug cause the directives to be
in the wrong order. I suggest you report the bug to the developpers of
the software you use to generate your Gerber files. You can give them
my details if you're not sure you can explain the issue properly.
I can't really fix the issue in grbv in a clean manner. Any workaround
would be very specific to your software, it might break other valid
Gerber files, and it's likely to be unmaintainable. I'll try to
improve the error message though.
Regards,
Jérôme.
ich würde mich übrigens über die unterstützung von "plated slots" freuen.