From what I know detecting Gerber files based on their filename is a total pain. There are some libraries such as https://github.com/tracespace/whats-that-gerber/blob/master/index.jsaround which work in some cases. But in most cases it is just disappointing to the user.
Thanks for sharing the link to the library!
Well in my opinion implementing any kind of automated layer sorting would be an user experience improvement.

As mentioned before is this his issue already addressed by the Gerber X2 extensions. We recommend our users to use these which works out pretty well. In my opinion we should >only< support X2 extensions as it is the only solution which gives a fulfilling user experience. And it is a good way to increase popularity of Gerber X2.
I agree that X2 is the way to go, but the old fashioned RS-274 with their layer extensions/file name pattern will live for a while .

At the another hand I would rather create a more simple layer sorting implementation first (based on extensions&filename patterns) for creating the infrastructure and then later we can work on upstreaming the X2 patch properly. After we got X2 support upstreamed it will be trivial to do the sorting based on the attributes.

--
Best regards,
Miklos Marton


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to