← Back to team overview

kicad-developers team mailing list archive

Re: Patch: improved magnetism

 

--- In kicad-devel@xxxxxxxxxxxxxxx, Werner Almesberger <werner@...> wrote:
>
> One more small improvement (on top of my previous patches): if DRC is
> turned off, also different nets are magnetic.
> 
> By the way, I've written a little description of some scenarios where
> magnetic traces make it easier to obtain tidy results:
> http://www.almesberger.net/misc/kicad/magnet/
> 
> - Werner
> 
> Index: kicad-svn/pcbnew/controle.cpp
> ===================================================================
> --- kicad-svn.orig/pcbnew/controle.cpp
> +++ kicad-svn/pcbnew/controle.cpp
> @@ -279,7 +279,7 @@
> const TRACK *curr = NULL;
> const TRACK *via, *track;
> int layer, layer_mask;
> - bool sometimes = g_MagneticPadOption != capture_always;
> + bool sometimes = g_MagneticPadOption != capture_always && Drc_On;
>  
> curr = g_CurrentTrackSegment;
> if (frame->GetCurItem() != curr)
>

Looks great! Just finished a board and looking forward to test your
new features on the next one.

If anybody isn't already working on the improved zone fill algorithm
my guess is that you would be the man for that job.

// Magnus









Follow ups

References