tracespace / gerber-to-svg

gerber-to-svg development moved to tracespace/tracespace
https://github.com/tracespace/tracespace
MIT License
81 stars 20 forks source link

accept invalid modal operations #6

Closed mcous closed 10 years ago

mcous commented 10 years ago

The Gerber spec disallows modal operation codes, e.g.: X10Y10D01* X15Y15* is invalid and should be written X10Y10D01* X15Y15D01*.

That being said, seeing as this was allowed in old Gerber, I don't think any fab shop will have trouble with files written this way. This behavior should be allowed with a warning so that the board gets drawn as the designer intended.