Skip to content

gerberToPNG() method incorrectly processes gerbers #31

Description

@stansanders

currently gerberToPNG sets the PNG output dimensions to the outermost data in the gerber, however this causes an incorrect output for normal copper layers that don't have a dimension or ground pour. The incorrect output is such that the PNG is the dimensions of the traces rather than the board, and the traces keep their offset from the board edge which causes traces to be cropped off.

If we rework the image_to_laser moves script to accept the profile gerbers in addition to the copper layer, gerberToPNG could use the profile to set the dimensions correctly.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions