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

Moire calculations are off #18

Closed mcous closed 8 years ago

mcous commented 9 years ago

In the visual tests, the second moire is stated to look like 3 rings and a circle. However, the gerber code describes a moire that is four rings. The description and generated image are incorrect.

mcous commented 9 years ago

I believe this line should read:

while r >= (p.ringThx / 2) and rings < p.maxRings
mcous commented 8 years ago

Fixed in gerber-plotter