delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/07/06/05:07:06

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sun, 06 Jul 2014 21:06:30 +1200
From: Lilith Bryant <dark141 AT gmail DOT com>
Subject: Re: [geda-user] pour clearing around pads
To: geda-user AT delorie DOT com
In-Reply-To: <53B90489.6030106@gmail.com> (from onetmt@gmail.com on Sun Jul 6
20:10:49 2014)
X-Mailer: Balsa 2.5.1-79-g9697477
Message-Id: <1404637590.750.43@zotlet.(none)>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s6696ojX010655
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 2014-07-06 08:10:49 PM, onetmt wrote:
> On 06/07/2014 06:41, Lilith Bryant wrote:
> > On 2014-07-06 04:11:18 PM, Dave Curtis wrote:
<snip>
> 
> Also my fab used to complain about them; this is why now I carefully
> draw by hand polygons, deleting them and reshamping them when sub-DRC
> metals are created.
> 
> > 
> > I have been meaning to write a polygon "bake" tool that fixes this, but
> have 
> > been put off by the lack of a workable polygon library.   Pretty much just
> needs 
> > to erode then dilate by the minimum clearance.    Was going to use
> shapely/GEOS 
> > in python, but it's erosion doesn't seem to work :(   So it went into the
> too hard
> > basket for the time being.    
> > 
> > 

Sorry to answer my own reply here, but I've just thought of a better way to
do this.  If the raw polygon is first built with clearances of (P+L) instead 
of just P....

(Where P=poly to line clearance, and L is the min line width)

... then that's the erosion step done right there,  so would just need a dilation 
after that, and that can be handled by "union-ing" an L*2 width line around the 
perimeter(s) of the poly.  

Is this within the capabilities of the existing infrastructure?


- Raw text -


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