X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Envelope-From: paubert AT iram DOT es Date: Sat, 12 Nov 2016 11:12:50 +0100 From: "Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] pcb file format Message-ID: <20161112101250.GA26668@visitor2.iram.es> References: <0d49697a-80c7-d588-859a-56bc542f7e5d AT ecosensory DOT com> <201611120127 DOT uAC1RmqL004523 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201611120127.uAC1RmqL004523@envy.delorie.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spamina-Bogosity: Unsure X-Spamina-Spam-Score: -2.9 (--) X-Spamina-Spam-Report: Content analysis details: (-2.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0093] 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 Precedence: bulk On Fri, Nov 11, 2016 at 08:27:48PM -0500, DJ Delorie wrote: > > I think it's per-board. I typically use a script to munge the > original pcb into a new one with "fixed" copper pad sizes, uses that > just to generate the paste gerber. I do exactly the same, with a fairly simple awk script that maps pad width to paste width and creates a temporary file, which us used as input to pcb gerber export. > > A patch to read an attribute-per-footprint in the paste generator > shouldn't be too hard. Indeed, but the script has the advantage, in this case, that all pads of a given width get the same treatment, this is not always what you want, but has been close enough for my use cases. However I object to one attribute per footprint, because I have quite a few footprints in which all pads are far from similar, or even close in size, and need a different shrink value for the paste. These cases are not limited to the center pad found below many packages for thermal and grouding reasons. Gabriel