-
Notifications
You must be signed in to change notification settings - Fork 479
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
GenCAD file format support #392
Comments
This is interesting, there are python libs that can generate bnf parser based on grammar so you can probably use it directly. |
Interesting, KiCad can generate GenCAD files, but I couldn't verify they are properly created. |
Out of curiosity which tool was that?
Yeah OpenBoardView was primarily designed to load boardview files and most of them does not supported silkscreen at all, so when we implemented GenCad parsing we have not expanded it's capabilities.
I have a copy of a very old Windows software called IGE. Let me know if you are interested in that. |
I don't remember, it was something like EasyEda or similar free web EDA.
I just need to determine the impact of the changes generated by KiCad. Here is the same PCB generated by KiCad 5, 6, 7 and 8: gencad.zip If you can post an image capture of the silk screen for each file we can determine if the change is a fix or a bug. |
After struggling with all kind of pyhton parsers I settled at the parsimonious It has many things to do, but the contour parsing is started rolling: |
I managed to get my paws onto a Teradyne D2B 7.0 I hope this helps! |
Back in the days Teradyne created a text based format called GenCAD. Leaked spec could be found here
The file format contains the PCB layers, cooper definitions, part footprint definitions, board outline so theoretically all information necessary for the InteractiveHtml generation is available inside it.
I know a couple PCB design tools (Mentor Pads, Mentor Expedition) which is capable to export to this format, so a Mentor - GenCAD - InteractiveHtmlBom conversion would be an option to support those tools.
The OpenBoardView software received GenCAD support lately, we used a Backus-Naur format based "grammar" to parse the file:
https://github.com/OpenBoardView/OpenBoardView/blob/master/src/openboardview/FileFormats/GenCADFileBnf.h
It might be a good starting point to leverage that grammar to eliminate the cumbersome parser creation.
I might start working on it in my fork soon, I opened this issue mainly as a notification in the case if someone would have some shared interest.
The text was updated successfully, but these errors were encountered: