kicad-developers team mailing list archive
Mailing list archive
Re: How often do we want to auto-fill zones?
I played with this a bit and I think we might want to reconsider.
The primary issue is that the point editor has a natural batching of operations: you select the zone, move a bunch of points around, and then deselect it. We re-fill on deselect.
Moving items that overlap a zone has no such batching. Refilling on each move (even when fills are fast) is pretty noisy.
So I’d be inclined to auto-fill ONLY after some points have been edited (and not on moving the zone or items which overlap it).
> On 5 Jul 2019, at 17:13, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
> On 7/5/19 11:50 AM, Seth Hillbrand wrote:
>> On 2019-07-05 07:46, Jeff Young wrote:
>>> 1) If I move a footprint which is over a zone, the zone fill becomes
>>> 2) If I move a zone which has footprints over it, the zone is re-filled.
>>> 3) If I edit the points of a zone and then de-select it, the zone is
>>> Item (2) turns out to be a side effect of the PointEditor getting
>>> activated when the zone is selected for the move, and then refilling
>>> the zone when it is unselected.
>>> Do we want to keep that, or should I make it consistent with (1)?
>>> (Making it consistent will fix Wayne's crash, but I think I can find
>>> other ways of fixing it if we want to keep the behaviour.)
>> Wow, is that what that crash was? Nice sleuthing there! Point editor
>> is going to be the death of us. :)
>> Since we refill zones after they become stale internally, I think we
>> should be consistent and refill in case (1) also. But this has some
>> nasty side effects when working in boards with extended fill times. For
>> 5.1, I'd vote for leaving behavior as-is and adding a preference setting
>> for auto-refill stale zones in v6. Then that can control all refills
>> including (1) as well as dragging a track over a filled zone area.
> I concur. We should definitely make zone auto filling optional. For
> complex boards the refill cost can be painful.
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp