delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-help-bounces using -f |
X-Recipient: | geda-help AT delorie DOT com |
From: | Patrick Bernaud <patrickb AT chez DOT com> |
MIME-Version: | 1.0 |
Message-ID: | <21122.16737.676052.813402@vagabond-hp.local> |
Date: | Tue, 12 Nov 2013 15:55:29 +0100 |
To: | geda-help AT delorie DOT com |
Subject: | Re: [geda-help] Drawing lines in PCB with commands |
In-Reply-To: | <CAEOiR2qTsAi3qhiNKeFgxif7p_0dtxjtbSj7HcYmFPMxS2tVxQ@mail.gmail.com> |
References: | <CAEOiR2qTsAi3qhiNKeFgxif7p_0dtxjtbSj7HcYmFPMxS2tVxQ AT mail DOT gmail DOT com> |
X-Mailer: | VM 8.1.0 under 23.4.1 (i486-pc-linux-gnu) |
Reply-To: | geda-help AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-help AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Hello, Narendiran writes: > Is it possible to draw lines (tracks) in PCB with commands? > Something like ... > > Drawline(x0,y0,x1,y1) > [...] > Drawline2(x0,y0,rad, phi) You can write simple commands like these with Guile-PCB (https://launchpad.net/guile-pcb). See http://bazaar.launchpad.net/~patrickb/+junk/drawline/view/head:/drawline.scm for example. To give it a try, follow the instructions below. With PCB 20110918, install Guile-PCB from the latest released tarball (20110918.2) or the branch 'guile-pcb-20110918' (https://launchpad.net/guile-pcb/20110918) or my PPA (https://launchpad.net/~patrickb/+archive/ppa) if you are using an Ubuntu system. Then download the 'drawline.scm' file from its branch (https://code.launchpad.net/~patrickb/+junk/drawline) and save it in one of PCB 'plugins' directory. With PCB HEAD, instead, you will have to build Guile-PCB from the 'guile-pcb-guile2' branch (https://code.launchpad.net/~patrickb/guile-pcb/guile-pcb-guile2) and copy the updated plugin from the 'drawline-guile2' branch (https://code.launchpad.net/~patrickb/+junk/drawline-guile2). HTH, -- Patrick Bernaud
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |