Skip to content

Conversation

@jake5253
Copy link

Fix Gerber parser for RS-274X files with arc support

  • Update regex patterns to properly detect coordinate commands
  • Add arc approximation using linear segments (10 per arc)
  • Extend parser to handle I/J arc center parameters
  • Improve command filtering to exclude apertures and format specs
  • Add comprehensive documentation and debug logging

Fixes #43

Fix Gerber parser for RS-274X files with arc support

- Update regex patterns to properly detect coordinate commands
- Add arc approximation using linear segments (10 per arc)
- Extend parser to handle I/J arc center parameters
- Improve command filtering to exclude apertures and format specs
- Add comprehensive documentation and debug logging

Fixes OpenBuilds#43
…defined aperture

My earlier changes didn't introduce this failure, but rather exposed it by modifying the parsing logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to open gerbers exported from EasyEDA

1 participant