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

[FEATURE] Gerber X3 Support #500

Closed
schneider-engineering opened this issue Sep 29, 2023 · 3 comments
Closed

[FEATURE] Gerber X3 Support #500

schneider-engineering opened this issue Sep 29, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@schneider-engineering
Copy link

Is your feature request related to a problem? Please describe.
Gerber X3 Position/Component export does not seem to be supported. (Or I could not find out how to enable it).

Describe the solution you'd like
We would like to be able to export Gerber X3 Position files.

Additional context
See below screenshots for how to export gerber X3 files. Despite having the term "gerber" in the name, in KiCad it is placed in "Component Placement".

context_menu generate_placement_files

Any help on this would be appreciated.

@schneider-engineering
Copy link
Author

A colleague just noticed that kicad-cli actually supports x3 export already:
kicad-cli pcb export pos --format gerber --use-drill-file-origin --side front
kicad-cli pcb export pos --format gerber --use-drill-file-origin --side back

Would it be possible to include this in KiBot?

@set-soft
Copy link
Member

set-soft commented Oct 2, 2023

Hi @schneider-engineering !

I'm adding some experimental support using the kicad-cli interface.
It is available on the dev branch, you can try the kicad_auto_full:dev docker image.
Is really experimental: new to KiBot and KiCad itself says is experimental.
The command line help is wrong, your example helped to clarify it! Reading the help it says:

 --side                 	Valid options: front,back,both. Gerber format only supports "both". [default: "both"]

But for gerber you must specify a side, both isn't supported. Then it says:

--use-drill-file-origin	Use drill/place file origin (ascii or csv only)

But is also supported for gerbers, as you show in your example, and this option is the default KiCad behavior for other position files.

Can you try this functionality and let me know if the generated files are correct?
BTW: are you using them for some particular manufacturer or for some particular machine?

@set-soft set-soft closed this as completed Oct 2, 2023
@schneider-engineering
Copy link
Author

Hey @set-soft,

thank you very much for your fast help. This works like a charm.

We are actually using the x3 pos data to convert gerbers to ODB++ using FAB 3000 as the EMS really wants ODB++.

From what I've heard eurocircuits will support x3 CPL any day now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants