On 08/15/2011 04:38 PM, Bert Timmerman wrote:
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:
--Thank you, Bert. I think it was the first footprint I created in gEDA
(thanks again to DJ Delorie for his excellent tutorial on how to
generate footprints using PCB, at URL <
http://www.delorie.com/pcb/docs/gs/gs.html#Your-First-Board >).
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.
--Hmmmmm, I guess you are right. It would be nice if there was a way
to draw rectangles and lines from the command window. Perhaps there is
one but I don't know about it. The mouse is nice, but when I click at
the correct coordinates, the clicking action may cause the mouse to
shift a bit, so the coordinates entered may not be exactly the intended
ones. To counteract this, I try to freeze the cursor at the intended
coordinates and press ENTER using my other hand, but I think I would
find it easier to do all this with a command.
Oh, and the marker is not in the Centre Of Gravity, so no easy
pick-and-place part from a 5000 units / tape& reel ;-)
--In this case I am in luck because the boards will be built by hand.
:-) Thank you for your astute observation, though. Could PCB
calculate the center of gravity of the part for me? Is there any easy
way to do it?
_______________________________________________
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user