kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00953
Re: Patch: improved magnetism
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Magnus Beischer" <magnus@...>
-
Date:
Tue, 05 Feb 2008 10:04:27 -0000
-
In-reply-to:
<20080205093937.GK19839@...>
-
User-agent:
eGroups-EW/0.82
--- 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