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

altium2kicad creates invalid .kicad_pcb file #127

Open
BreakingSiam opened this issue Jul 1, 2022 · 4 comments
Open

altium2kicad creates invalid .kicad_pcb file #127

BreakingSiam opened this issue Jul 1, 2022 · 4 comments

Comments

@BreakingSiam
Copy link

After running altium2kicad on a large Altium project, it creates a .kicad_pcb file which Kicad version "6.0.4-6f826c9f35116ubuntu18.04.1, release build" reports "does not appear to be a valid KiCad project file".

The generated .kicad_pcb file is 13891785 bytes long, and on visual inspection of the beginning of the file appears to be a valid KiCad project file.

During conversion of the altium project, after displaying writing to "Regions6/Data.dat.txt", altium2kicad reported:

Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Error: substring out of range: length:509 pos:18799 wantedsize:2 field:len[2] (main,../convertpcb.pl:2901 - main::msubstr)
Use of uninitialized value in unpack at ../convertpcb.pl line 2901.
...

The complete conversion output is attached.

oo.txt

@thesourcerer8
Copy link
Owner

Please provide me with your altium file, so that I can analyze the problem. I couldn't reach you through email.

@thesourcerer8
Copy link
Owner

I just tried the new Altium Importer that has been integrated into Kicad itself (one in PcbNew and on in EESchema, to be found in "File -> Import -> Non-KiCad Files", and the results are much better than altium2kicad, so I would suggest to you use the KiCad integrated importer yourself instead of altium2kicad. If it works for you, please close this issue. If it doesn't work for you, please let me know.

@bjornfor
Copy link

bjornfor commented Jun 5, 2023

Has the integrated imprter in KiCAD superseded this project?

@thesourcerer8
Copy link
Owner

Yes, it was developed based on this converter, and it seems to have surpassed the quality of this converter now. So unless anyone still needs this converter, I would declare it superseded now.

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