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
I am using the pcb-stackup and gerber-to-svg libraries to render a composite image of a bare board. The layout tool I use, Mentor Xpedition, seems to add a G93 code to its drill output to indicate the relative zero coordinate (G93X0Y0). _parse-drill.js ignores the G93 part of the line and recognizes the X0Y0 as a drill coordinate. It then seems to incorrectly drill the last defined tool at 0,0.
For example, this drill file below will render an extra T10 0.463in hole at 0,0. I think there should probably be a check for G93 codes at the start of the line so they can be ignored as drill coordinates.
I am using the pcb-stackup and gerber-to-svg libraries to render a composite image of a bare board. The layout tool I use, Mentor Xpedition, seems to add a G93 code to its drill output to indicate the relative zero coordinate (
G93X0Y0
). _parse-drill.js ignores the G93 part of the line and recognizes the X0Y0 as a drill coordinate. It then seems to incorrectly drill the last defined tool at 0,0.For example, this drill file below will render an extra T10 0.463in hole at 0,0. I think there should probably be a check for G93 codes at the start of the line so they can be ignored as drill coordinates.
The text was updated successfully, but these errors were encountered: