kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00952
Re: Patch: improved magnetism
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Werner Almesberger <werner@...>
-
Date:
Tue, 5 Feb 2008 01:39:37 -0800
-
In-reply-to:
<20080204141345.GI19839@...>
--W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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
--W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kicad-magnet-drc.patch"
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)
--W5WqUoFLvi1M7tJE--
Follow ups
References