fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.04k stars 835 forks source link

Copper fill ignores hidden layers #4081

Closed KjellMorgenstern closed 4 months ago

KjellMorgenstern commented 1 year ago

Outcome: Copper fill covers the complete area, ignoring the part that we added

Expected: The visibility setting of the layer does not influence the copper fill

Affects: Fritzing up to version 1.0.1

KjellMorgenstern commented 11 months ago

During debugging we found the DRC check was ignoring hidden layers, too. The fix applies to both, as well to the gerber export, which had a workaround for this. The workaround was to store layer visibility settings, change it, export gerber, and change visibility settings back. The improved version ignores layer visibility, and sticks to the layer list parameter instead, that we already have to pass anyway.