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

Re: gEDA-user: Bug in 'FreeRotateBuffer()'? (WAS: Re: Line Thickness in Imported DXF Files; Rotating by Arbitrary Angle; UTF-8)



Hi Gus and all, 

> -----Original Message-----
> From: geda-user-bounces@xxxxxxxxxxxxxx 
> [mailto:geda-user-bounces@xxxxxxxxxxxxxx] On Behalf Of Gus Fantanas
> Sent: Monday, August 15, 2011 5:57 AM
> To: DJ Delorie
> Cc: geda-user@xxxxxxxxxxxxxx
> Subject: gEDA-user: Bug in 'FreeRotateBuffer()'? (WAS: Re: 
> Line Thickness in Imported DXF Files; Rotating by Arbitrary 
> Angle; UTF-8)
> 
> On 08/14/2011 03:16 PM, DJ Delorie wrote:
> >> OK, so is there any option in pcb to rotate by an angle 
> other than 90 
> >> degrees?
> > Cut
> >
> > :FreeRotateBuffer(45)
> >
> > Paste
> >
> Thank you so much for your response.
> 
> Using PCB, I created a footprint for the PDS760 Schottky diode
> (PowerDI®5 package).  I have pasted its ASCII file below.  
> When I apply 'FreeRotateBuffer()' to that footprint, the big 
> pad (pin 1) and the silkscreen rotate fine, but the two small 
> square pads (2 and 3) do not.  
> Their centers rotate, but the pads themselves do not.  Is it 
> a bug or did I do something wrong when I created the 
> footprint?  I have verified the problem with 45° and 60° rotations.
> 
> Here is the footprint file.  The guardband is probably overly 
> liberal, but for now it can do the job for me:
> 
> 
> Element["" "" "D?" "" 27500 15000 -6500 9500 0 100 ""]
> (
>      Pad[-14383 124 -8478 124 13228 2000 14228 "" "1" "square"]
>      Pad[4239 3745 4239 3745 5512 2000 6512 "" "2" "square,edge2"]
>      Pad[4239 -3499 4239 -3499 5512 2000 6512 "" "3" "square,edge2"]
>      ElementLine [-23000 -8500 -23000 8500 500]
>      ElementLine [9000 -8500 -23000 -8500 500]
>      ElementLine [9000 8500 9000 -8500 500]
>      ElementLine [-23000 8500 9000 8500 500]
> 
>      )
> 

Congrats with the footprint, some minor caveats though:

I googled for a datasheet and found one from Diodes, page 4 gives 1.39 mm by
1.40 mm for the "left" and "right" pads, so this "FreeRotateBuffer()"
Heisenbug should go away by itself.

Oh, and the marker is not in the Centre Of Gravity, so no easy
pick-and-place part from a 5000 units / tape & reel ;-)

@KMK: there are no "half bugs", bugs are boolean by nature, so either "0" or
"1" should do ;-)

Kind regards,

Bert Timmerman.






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