Argmaster / pygerber

Python implementation of Gerber X3/X2 standard with 2D rendering engine.
https://argmaster.github.io/pygerber/stable
MIT License
53 stars 10 forks source link

Add support for comment based attributes #118

Closed Argmaster closed 5 months ago

Argmaster commented 9 months ago

Example of one:

G04  !@# ... *
edmccabe5 commented 6 months ago

For now, is it best to go through the gerber files and remove any lines with the G04 before sending it to the pygerber parser?

Argmaster commented 6 months ago

No, you can leave them as-is, they will be just threated as comments so there will be no way to retrieve them after parsing.

This issue refers to special type of G04 comments which carry standardized attributes instead of only human readable text.

Image should not be affected. There should be no errors related to G04.