Mail Archives: geda-user/2015/10/24/07:02:02
Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via
geda-user AT delorie DOT com] wrote:
> On Sat, 24 Oct 2015 11:45:00 +0200
> "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]"<geda-user AT delorie DOT com> wrote:
>
>
>> Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]
>> wrote:
>>
>>> DJ Delorie wrote:
>>>
>>>>> It would be nice to have in the buffer menu, do you think it is time
>>>>> to get into the official repository?
>>>>>
>>>> I think Bert is working on merging plugins into the core, perhaps it
>>>> will show up on his radar some day :-)
>>>>
>>>>
>>> ack
>>>
>>>
>> Please review (second pair of eyes) and test home/bert/renumber
>>
>> Kind regards,
>>
>> Bert Timmerman
>>
>
> I will.
>
> Nicklas Karlsson
>
>
Hi,
Below an e-mail with a script from the past ;-)
----8<----
From: DJ Delorie [dj AT delorie DOT com]
Date: friday 12 september 2008 5:38
To: geda-user AT moria DOT seul DOT org
Subject: gEDA-user: RenumberBuffer()
http://www.delorie.com/pcb/renumberblock.c
I added RenumberBuffer() to my RenumberBlock() plug in. It does the
same thing, but to the paste buffer. Why? I needed twenty copies of a
block on a board, and not in a simple grid:
LoadFrom(Layout,powermeter.pcb)
LoadFrom(LayoutToBuffer,channel1.pcb)
# left upper
PasteBuffer(ToLayout,0,30000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,80000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,130000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,180000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,230000)
# Now skip 300 more for the next five
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,310000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,360000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,410000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,460000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,0,510000)
# Other side
pastebuffer(Rotate,2)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,90000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,140000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,190000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,240000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,290000)
# skip
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,370000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,420000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,470000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,520000)
RenumberBuffer(0,10)
PasteBuffer(ToLayout,250000,570000)
SaveTo(LayoutAs,djtest.pcb)
Quit()
_______________________________________________
geda-user mailing list
geda-user AT moria DOT seul DOT org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
----8<----
- Raw text -