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

Altium Designer Support #487

Closed
zharovdv opened this issue Jan 20, 2025 · 15 comments
Closed

Altium Designer Support #487

zharovdv opened this issue Jan 20, 2025 · 15 comments

Comments

@zharovdv
Copy link
Contributor

I made InteractiveHtmlBom based Altium Designer plugin. Due altium script system limitation/performance now it works standalone. It's generate little bit easy json format, assemble it with js preprocessor and InteractiveHtmlBom files. Is any possibility be mentioned on Compatibility section of your wiki or it’s should generate json file?

PS: Yes, i know about boastools.com - but i cant use it due altium version incompatibilities.

@zharovdv
Copy link
Contributor Author

Looks like I found out solution in a way EasyEDA works. Sorry for spend your time. I'll be back with pull request soon.

@qu1ck
Copy link
Member

qu1ck commented Jan 20, 2025

Keep in mind that I will not be able to test or maintain a custom parser for Altium because I don't have it.

Instead look at how Allegro is implemented, there is a separately maintained project that exports allegro pcb data into an intermediary json format that InteractiveHtmlBom can work with. This is the recommended way to integrate non-free software with InteractiveHtmlBom.

@zharovdv
Copy link
Contributor Author

Sure, I understand. Looks done. #488

@qu1ck
Copy link
Member

qu1ck commented Jan 21, 2025

Sorry, I can not merge that as I will not be able to maintain it, as explained above.

Change your pascal plugin code to format json according to ibom schema and you will get ibom compatibility for free.

@zharovdv
Copy link
Contributor Author

Oh... Now it's clear. Will try to remake my altium script. Thanks for patience.

@Funkenjaeger
Copy link
Contributor

At a glance, it looks like @zharovdv may need to extend the generic JSON schema and parser to support the "rectangle pad hole" option that they added as part of #488, if that's something actually needed for Altium compatibility.

@zharovdv
Copy link
Contributor Author

At a glance, it looks like @zharovdv may need to extend the generic JSON schema and parser to support the "rectangle pad hole" option that they added as part of #488, if that's something actually needed for Altium compatibility.

@qu1ck already add "rectangle pad hole", it was in last pull request. I don't know why github show this commit again... So, in any way I will try to change my altium script generate "schema" json.

@Funkenjaeger
Copy link
Contributor

Ah, I see that now, I missed that recent change - disregard my comment!

@zharovdv
Copy link
Contributor Author

Sorry, I can not merge that as I will not be able to maintain it, as explained above.

Change your pascal plugin code to format json according to ibom schema and you will get ibom compatibility for free.

Done. Now my script generate "genericjsonpcbdata_v1.schema" compatible file.

@qu1ck
Copy link
Member

qu1ck commented Jan 22, 2025

Great!
Can you add usage instructions on readme of your plugin? Also an example output would be helpful, if AD has some kind of well known demo board it would be best to use that as source.
I'll add a link to it in wiki.

@zharovdv
Copy link
Contributor Author

Sure, will be done in a few days.

@zharovdv
Copy link
Contributor Author

BTW, is DrawingText in schema correct? I dont see many properties (text, pos, angle...) in it. Looks like it's out of date.

@qu1ck
Copy link
Member

qu1ck commented Jan 23, 2025

Yes, it's up to date, svgpath text rendering method is the newest and preferred way. It does not need any of the other fields.

If you can't generate an svgpath for some reason then you can add polygons and pos to the schema but don't use the other stuff, it's only there for compatibility with old kicad versions.

@zharovdv
Copy link
Contributor Author

zharovdv commented Feb 2, 2025

Great! Can you add usage instructions on readme of your plugin? Also an example output would be helpful, if AD has some kind of well known demo board it would be best to use that as source. I'll add a link to it in wiki.

Finally done. Hope it's clear. GIF instruction added too. I can't add AD demo project cause of copyrights. Now looking for opensource AD project, enought small, but compilcated and with appropriate license.

@qu1ck
Copy link
Member

qu1ck commented Feb 3, 2025

Looks good, thanks. I updated the wiki.

@zharovdv zharovdv closed this as completed Feb 3, 2025
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

3 participants