delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=google.com; s=20120113; | |
h=mime-version:in-reply-to:references:date:message-id:subject:from:to | |
:content-type:x-gm-message-state; | |
bh=/x2HghamW75TDlDXsrOsR5NNneEYScpmDFjJS4TaCog=; | |
b=kgX0ploocswh/TEbH4z3RG2bDkQ1VfONsAF6SfpvMAbSlqTf+M2Bd48KUDiRdLjJsU | |
u/e2jVbIxMChsuk3iOanH3v8saC3mEs5JV4NAR2OZTPUI4KLZQpJ5eL9exVd9PJRe8nH | |
Nc7JM+rmbCLvGV+rZp1YhoZSfsHRbAS9CTJcG/em232O7lGHsPwxmTtakWYZ9xKJJGDa | |
pT/JoW4VMaTF7sylgpxLg6IeIgbeq/DJsc71eKb1XH3huiKvUeY4p2BQZkE3rUX64X2m | |
F0/erz7POiD2utgNhVHLU7JzhmYfto7CdwZVRoWmN43IygXJtzFhliFqGQVQVVtctKBn | |
eK5A== | |
MIME-Version: | 1.0 |
In-Reply-To: | <50089DC4.7020006@ecosensory.com> |
References: | <20120719182728 DOT GA12447 AT slana DOT eecs DOT oregonstate DOT edu> |
<201207191846 DOT q6JIkbTb030133 AT envy DOT delorie DOT com> | |
<20120719160003 DOT 3a3fb538 AT svelte> | |
<201207192322 DOT q6JNMhYj012483 AT envy DOT delorie DOT com> | |
<50089DC4 DOT 7020006 AT ecosensory DOT com> | |
Date: | Thu, 19 Jul 2012 20:46:29 -0500 |
Message-ID: | <CAKU6bkwOQ6jPr23J-5nkekHDOSCck94Xgix0HKToaEe2WMFLMA@mail.gmail.com> |
Subject: | Re: [geda-user] pcb footprint update hack |
From: | Dan White <dan AT whiteaudio DOT com> |
To: | geda-user AT delorie DOT com |
X-Gm-Message-State: | ALoCoQm6umSgn8V3s9quZDavaVoDPa3ZChUM0HezGKgxzxsHs6BPVsZ2fwCrMt7kxubXOeKQ157f |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thu, Jul 19, 2012 at 6:52 PM, John Griessen <john AT ecosensory DOT com> wrote: > 4. You might have to fix some components, they sometimes are > rotated incorrectly after being updated. Use the rotate tool > and click on the component reference point (diamond) until > things are lined up. > > 5. Save the layout. > > But now you have a name of XYZ123_new.fp. How do you get to modified > XYZ123.fp > in fewer steps that Colin suggested? Or are you suggesting always use anew > name? There is a plugin "ElementUpdate(Selected|All)" which pulls in new footprint updates from disk. To avoid restarting PCB to (reload the Library), there is a note in elementupdate.c about exporting a function from buffer.h: /* make sure to re-read footprints from disk */ /* to enable this, add the following to buffer.h: * void clear_footprint_hash (void); * and un-comment below */ /*clear_footprint_hash ();*/ The plugin does not preserve changed flags present on pins/pads; this means thermals are not preserved, specifically. With the above change to the pcb code, you can have two PCB The plugin is part of a forked version of Bert Timmerman's pcb-plugin github repo: https://github.com/etihwnad/pcb-plugins/blob/master/src/plugins/elementupdate.c I hacked up this one, and another plugin for aligning text (AlignText and DistributeText) to suit my purpose at the time. "Real Soon Now" they will be more formally introduced, but... Dan -- SDG www.whiteaudio.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |