X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <57388E01.5090106@xs4all.nl> Date: Sun, 15 May 2016 16:56:01 +0200 From: "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] Differential pair support References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Stephen Ecob (stephen DOT ecob AT sioi DOT com DOT au) [via geda-user AT delorie DOT com] wrote: > Here's a basic implementation of differential pair support. > > The code in "differential.c" needs to be placed inside action.c > > The code is run by typing > > :MakeDifferential(TargetWidth,gap) > > where TargetWidth is the width of lines to transform and gap is the > thickness of the gap to insert. > > The pictures show a 19 mil trace that is transformed into a > differential pair with thickness 7 mil and gap 5 mil. This was done > by typing > > :MakeDifferential(19mil,5mil) > > Caveats: > > * Doesn't support undo properly. Back up your work before running. > > * Doesn't work well with straight line intersections, it creates gaps > and overhangs at the intersections. The workaround is to use arcs for > changing direction, as it handles line to arc intersections > beautifully. > > Enjoy! > > Hi all, I created a topic branch for this "plugin": home/bert/differential http://git.geda-project.org/pcb/commit/?h=home/bert/differential&id=715c6c8f94ffca04eaa147782c58baa47e772222 Happy testing ;-) Kind regards, Bert Timmerman.