kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26929
Re: Via Stitching
Hi Heikki,
Good catches, thank you for the report. Both issues should be already fixed.
Regards,
Orson
On 12/07/2016 01:11 PM, Heikki Pulkkinen wrote:
> Hi
>
> Yesterday I do some work with Via Stitching cleanup. Cleanup Tracks and
> Vias has been changed quite much past two weeks. I found that
> deleteDanglingTracks() does not work right. It does not remove whole
> dangling trace, just only end tracks. I think, that it does not know other
> tracks than end tracks, because they do not been removed instantly as they
> do before. And that loop is running only ones. I think, that It needs some
> kind of whole trace test. Just adding:
>
> /* keep iterating, because a track connected to the deleted
> track
> * now perhaps is not connected and should be deleted */
> tie( std::ignore, flag_erase ) = m_removed.insert( track );
> modified = true;
> item_erased = true;
> <------------------------------------------------------------------------------*
> }
> }
> } while( item_erased );
>
>
> make it for ever loop.
>
>
> Another conflict is comparison of via type:
>
> @@ -371,10 +383,15 @@ bool TRACKS_CLEANER::clean_vias()
>
> /* Important: these cleanups only do thru hole vias, they don't
> * (yet) handle high density interconnects */
> - if( via->GetViaType() != VIA_THROUGH )
> + if( via->GetViaType() == VIA_THROUGH )
> {
> modified |= remove_duplicates_of_via( via );
>
>
>
>
> Cheers
>
> Heikki
Attachment:
signature.asc
Description: OpenPGP digital signature
References
-
Via Stitching
From: Heikki Pulkkinen, 2016-09-24
-
Re: Via Stitching
From: Wayne Stambaugh, 2016-10-18
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-10-21
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-10-23
-
Re: Via Stitching
From: Strontium, 2016-10-24
-
Re: Via Stitching
From: Wayne Stambaugh, 2016-10-24
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-10-29
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-11-07
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-11-08
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-11-21
-
Re: Via Stitching
From: Heikki Pulkkinen, 2016-12-07