delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/07/19/22:57:18

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=ghP1ugHD+YSET8PAVnWLbgtIHIL8BxVmyVgn/F+SmQA=;
b=U0PrsFxzIWj5fenm11MiXRQCWRUerFSZykrHsGT6TKcldBECswWUzGylHLGnKDGyz7
DdAMHJBYoee2CGahja9KbECjdUuwR7s4qES4IW8ts1n0tCHrmhx7m08rDT4ustJG+TwK
koY06SCUmwtikCOj98Ge2hTsE49q5dJNg+00oHC+X64GDsfl+jl9QB/d0wyo/JjplCqK
IZBhbQCTcwuf1H77zxtoEoLNBuOTQOkp8zKMO4loN42JJcOvl9mtpUmjjCEdBHks0qJy
vGfz+1KG2Q53UOkQ97SkOz8abNabOv5mCAx0SciUxesjmYYx5msGzEN2VXSuuxtuNSsI
e6uQ==
MIME-Version: 1.0
In-Reply-To: <CAKU6bkwOQ6jPr23J-5nkekHDOSCck94Xgix0HKToaEe2WMFLMA@mail.gmail.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>
<CAKU6bkwOQ6jPr23J-5nkekHDOSCck94Xgix0HKToaEe2WMFLMA AT mail DOT gmail DOT com>
Date: Thu, 19 Jul 2012 19:57:05 -0700
Message-ID: <CAN0Jx-9=+hr0RZtiZomm=Q9En=ffQxY+34WFA9rCTpL7Ys6LdQ@mail.gmail.com>
Subject: Re: [geda-user] pcb footprint update hack
From: Russell Dill <Russ DOT Dill AT asu DOT edu>
To: geda-user AT delorie DOT com
X-Gm-Message-State: ALoCoQnBtuR1N8TG/yccIK7l7NObVsKdlth84KJrV0/phvaZMAlZqJS5UWXl61zwN1FDaAp2OCVW
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:46 PM, Dan White <dan AT whiteaudio DOT com> wrote:
> 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...

Here's yet another one:

https://gist.github.com/3148380

It preserves text position and rotation, thermals, and pads that have
zero clearance.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019