Skip to content

copper layer retrieval assumes first 32 kicad layers are copper #83

Description

@mabuware

the method

def _copperLayers(self):

    def _copperLayers(self):
        coppers = [ (int(t),unquote(self.pcb.layers[t][0])) \
                        for t in self.pcb.layers if int(t)<=31]
        coppers.sort(key=lambda x : x[0])
        return coppers

makes the assumption that the first 32 layers are hardcoded to be copper, which doesn't seem to be the case anymore in current version of Kicad.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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