Mail Archives: geda-user/2014/06/14/11:20:54
On 06/11/2014 09:35 PM, Gabriel Paubert wrote:
>>> Solution 2 is what I've been doing for years. Merging the photoplotter
>>> files manually is relatively easy (even if having tools for this would
>>> be nice).
>>
>> Got it...Thanks for the suggestions, guys.
>>
>> Gabriel, can you tell me how you do the gerber merge, and what tool(s)
>> you use?
>
> cat and emacs :-)
Ahh, a real man. :-) I live in emacs pretty much all day myself.
> cat to concatenate the two files to a new one (always keep the originals!).
>
> Then under a text editor (I use emacs since it keeps the DOS line breaks)):
> - eliminate the M02 at the end of the first file,
> - move the header which is just after this removed item to after
> the header of the first file
> - merge the headers by hand, this is easy since right now pcb allocates
> non overlapping aperture ranges for each file. You must remove the
> duplicate %MO and %FS parameter lines, which must be identical,
> (same for %IP if it were present). The other parameters are less critical
> but I prefer to keep the %LN from the first file.
> - for the comment (G04) lines, do what you want, keeping in mind that
> only printable ASCII characters are allowed with the exception of % and *.
>
> That's about all, but I may have forgotten something.
> Then I always check the results under gerbv.
Perfect. I'll be giving this a shot today. Thank you!
-Dave
--
Dave McGuire, AK4HZ/3
New Kensington, PA
- Raw text -