[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: Re: Pcb Rectangle funnies



Hi list, Harry

* Harry Eaton writes:

> --- DJ Delorie <dj-Ht4Cp5ncgjRBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> wrote:
>> 
>> > What happens here is that the clearance of the pad
>> is increased, but
>> > the copper moves into the clearance of the
>> adjacent pad.
>> 
>> I've reproduced this.  Harry, could this be a
>> clipper bug?

> Yep, it's fixed in cvs now.

Thank you for looking into it.

Hmm, updating CVS fond this in polygon.c:

Well, it is still happening. test.pcb.gz attached.

Ralf

--- ../../pcb-2007-04-23/src/polygon.c  2007-04-23 15:00:59.000000000 +0200
+++ polygon.c   2007-04-27 13:38:05.000000000 +0200
@@ -1,4 +1,4 @@
-/* $Id: polygon.c,v 1.50 2007/04/20 11:31:13 danmc Exp $ */
+/* $Id: polygon.c,v 1.51 2007/04/27 04:17:51 haceaton Exp $ */
 
 /*
  *                            COPYRIGHT
@@ -61,7 +61,7 @@
 #include <dmalloc.h>
 #endif
 
-RCSID ("$Id: polygon.c,v 1.50 2007/04/20 11:31:13 danmc Exp $");
+RCSID ("$Id: polygon.c,v 1.51 2007/04/27 04:17:51 haceaton Exp $");
 
 #define ROUND(x) ((long)(((x) >= 0 ? (x) + 0.5  : (x) - 0.5)))
 
@@ -679,7 +679,7 @@
     region = clip_box (here, &polygon->BoundingBox);
   else
     region = polygon->BoundingBox;
-  shrink_box (&region, -expand);
+  region = bloat_box (&region, expand);
 
   if (setjmp (info.env) == 0)
     {
@@ -798,7 +798,7 @@
     }
   if (!Unsubtract (np, p))
     return 0;
-  clearPoly (PCB->Data, l, p, (const BoxType *) pad, 50);
+  clearPoly (PCB->Data, l, p, (const BoxType *) pad, 100);
   return 1;
 }


 

Attachment: test.pcb.gz
Description: Binary data


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user