Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close gerber regions properly (#3333) #3370

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Conversation

AHorneffer
Copy link
Contributor

The original code has only one "end region" (G37) statement for the whole file, but has multiple "start region" (G36) commands. AFAIK this results in an incorrect gerber file. (I think that polarity changes (%LPC or %LPD) inside a region are also illegal, but I'm too lazy to search the specifications for that.)
This change puts the "end region" (G37) statement at the end of each region.

The original code has only one "end region" (G37) statement for the whole file, but has multiple "start region" (G36) commands. AFAIK this results in an incorrect gerber file. (I think that polarity changes (%LPC or %LPD) inside a region are also illegal, but I'm too lazy to search the specifications for that.) 
This change puts the "end region" (G37) statement at the end of each region.
@aknoerig aknoerig merged commit 4a7ed22 into fritzing:master Dec 4, 2017
@AHorneffer AHorneffer deleted the patch-1 branch December 4, 2017 21:12
Intrinsically-Sublime pushed a commit to Intrinsically-Sublime/fritzing-app that referenced this pull request Dec 15, 2017
This reverts commit 4a7ed22, reversing
changes made to 6e5f4c5.
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.

2 participants