ThisIsNotRocketScience / GerberTools

Tools to load/edit/create/panelizer sets of gerber files
MIT License
725 stars 144 forks source link

AccessViolationException when read RS274 Gerber file #117

Open jounjieli opened 4 years ago

jounjieli commented 4 years ago

AccessViolationException when read RS274 Gerber file, gerber is generated from "Altium Designer,18.0.12". I tried to fix this problem, but I am not familiar with OpenTK.

  1. N2_Control.GM3 Gerber file content : G04 G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,18.0.12 (696) G04 G04 Layer_Color=32768 %FSLAX25Y25% %MOIN% G70 G01 G75 %ADD10C,0.01000% D10 X0Y334646D02 X590551D01 Y0D02 Y334646D01 X0Y0D02 X590551D01 X0D02 Y334646D01 M02

000 001 003 004

  1. Gerber file content: G04 Layer_Color=16776960 %FSLAX44Y44% %MOMM% G71 G01 G75 %ADD32C,0.1500% D32 X625000Y0D02 Y490000D01 X0D02 X625000D01 X0Y0D02 Y490000D01 Y0D02 X625000D01 M02*

002