Skip to content

PCB conversion sets location of pts at 0, 0 #117

@yorickdowne

Description

@yorickdowne

Converting a PCBdoc from Altium, after conversion two of the pts are at 0, 0 and closing brackets for pts, polygon and zone are missing. During conversion, I see these error messages:

# X211 x/y 00000038540C874100000070F0A67641 122.7721573 -60.3312357
Use of uninitialized value in division (/) at /home/yorick/altium2kicad/convertpcb.pl line 2965.
Error: substring out of range: length:3396 pos:3404 wantedsize:8 field:Y212 (main,/home/yorick/altium2kicad/convertpcb.pl:2966 - main::msubstr)
Use of uninitialized value in unpack at /home/yorick/altium2kicad/convertpcb.pl line 2966.
Use of uninitialized value in division (/) at /home/yorick/altium2kicad/convertpcb.pl line 2966.
# X212 x/y  0 0
Error: substring out of range: length:3396 pos:3412 wantedsize:8 field:X213 (main,/home/yorick/altium2kicad/convertpcb.pl:2965 - main::msubstr)
Use of uninitialized value in unpack at /home/yorick/altium2kicad/convertpcb.pl line 2965.
Use of uninitialized value in division (/) at /home/yorick/altium2kicad/convertpcb.pl line 2965.
Error: substring out of range: length:3396 pos:3420 wantedsize:8 field:Y213 (main,/home/yorick/altium2kicad/convertpcb.pl:2966 - main::msubstr)
Use of uninitialized value in unpack at /home/yorick/altium2kicad/convertpcb.pl line 2966.
Use of uninitialized value in division (/) at /home/yorick/altium2kicad/convertpcb.pl line 2966.
substr outside of string at /home/yorick/altium2kicad/convertpcb.pl line 199.
# X213 x/y  0 0
Overflow!

There are a few other warnings about uninitialized values, but maybe those should be a different issue. One thing at a time.

Let me know the best way to troubleshoot this, please. I can share the Altium files, or I can run some diagnostic / debug runs for you, if you guide me on how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions