You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
stansanders
changed the title
gerberToPNG incorrectly processes gerbers
gerberToPNG() method incorrectly processes gerbers
Nov 11, 2019
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.
The text was updated successfully, but these errors were encountered: