Yahoo Groups archive

Homebrew PCBs

Index last updated: 2026-04-28 23:05 UTC

Message

Re: Parser for RS-274X header.

2002-04-25 by crankorgan

Alan,
     Two things! Run this past Dave Kush at:

http://www.calweb.com/users/d/dnjinca/


     Also, have you played with the SCRIPTS that are in
Eagle. There is one there to turn a PCB drawing into a DXF. In
the Cad_Cam conference there used to be a script that made
a PCB drawing into GCode. I only played with the DXF one. I
abandoned Eagle because of the Traveling Salseman Syndrome.
Someone showed me how to use ACE to fix my drawing. I think
you use Vector.

                                 John





--- In Homebrew_PCBs@y..., Alan Marconett KM6VV <KM6VV@a...> wrote:
> Hi to the Lists,
> 
> I generated this demo RS-274X (Gerber) file header from Tci, a 
French
> PCB program (pardon my french).  I've had some of the parms 
explained
> before, and I have the Gerber spec, so I have some Idea of their 
use. 
> What's not obvious to me is how they expect one to go about parsing 
it. 
> I know it's in MM.  The '*' are always end-of-block, which is 
fine.  I
> see '%' characters bracketing SOME of the blocks, but some at start 
and
> some at end (suggests several blocks are "together"?).  And This 
header
> seems to use G04 (delay) as a comment? 
> 
> I have a parser for Gcode, but this header stuff doesn't fit too 
good
> (parser wise)!
> 
> It looks like "ADD 10 C 0.318" (spaces added) sets aperture #10 to a
> circular pad, and "ADD 11 C 1.588 X 0.2" is for the traces.  I can 
work
> through it from the CAD PCB layout to get the numbers right, But 
this
> all seems rather haphazard, IMO.  
> 
> Any comments?
> 
> G04 format : xxx.xxx unité : millimètre *
> %FSLAX33Y33*
> MOMM*
> OFA0B0*
> SFA1B1*
> IPPOS*%
> G04 définition des ouvertures pour les pistes *
> %ADD10C,0.318*%
> G04 définition des ouvertures pour les pastilles rondes *
> %ADD11C,1.588X0.2*%
> G04 tracé du CI *
> 
> Alan  KM6VV

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.