Re: gEDA-user: ANN: gschem symbol rotation script (Mark Rages)

2009-12-30 Thread Mike Bushroe

   Mark,
   how doy you call the python script? You gave some nice screen shots of
   the results, but my quick look through the code I did not see an
   example of how to call it. Does it only do 45 degree rotations, or is
   one of the arguments the rotation angle?
 Also, will this work on PCB newlib footprints? I recently made
   an LED pendant circuit with 12 LEDs arranged in a circle. But with
   only PCB rotations on 90 steps, I had trouble with line clearances on
   the outer circle ground line and the one LEd that needed a transistor.
   So I manually made two more LED footprints, one rotated 30 degrees,
   and one 60. The square pads were still on 90 degree steps, but the
   rest of the LED layout was much prettier.
   Thanks for writing the script for the rest of us.
   Mike


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


Re: gEDA-user: ANN: gschem symbol rotation script (Mark Rages)

2009-12-30 Thread Mark Rages
On Wed, Dec 30, 2009 at 7:26 PM, Mike Bushroe mbush...@gmail.com wrote:

   Mark,
   how doy you call the python script? You gave some nice screen shots of
   the results, but my quick look through the code I did not see an
   example of how to call it. Does it only do 45 degree rotations, or is
   one of the arguments the rotation angle?

Did you look at the README? It takes one argument, which is the
rotation angle.  The symbol is read from stdin, written to stdout.
Any rotation should work, but as the pins are snapped to the closest
grid point, not all rotations will produce attractive symbols.

         Also, will this work on PCB newlib footprints?

No.  But I don't think it is necessary.  pcb has a way to rotate
footprints to arbitrary angles.  (if you have a really old build of
pcb you might need to upgrade first.) See this message and the
surrounding thread:
http://www.seul.org/pipermail/geda-user/2007-November/009169.html

Regards,
Mark
markra...@gmail
-- 
Mark Rages, Engineer
Midwest Telecine LLC
markra...@midwesttelecine.com


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


Re: gEDA-user: ANN: gschem symbol rotation script (Mark Rages)

2009-12-30 Thread Mike Bushroe

Cut to buffer
:FreeRotateBuffer(45)
Paste

   GREAT! Wish I had seen that feature last week when trying to get the
   button battery holder to fit on the backside between the 14 pin DIP
   and the 12 LEDs. A 45 might have just hit the spot. Thanks, I'll
   rotate a few symbols to try it out.
   Mike


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