Mail Archives: geda-user/2018/02/03/13:56:29
Karl:
...
> > >From the file format description (section 8.8 in
> > http://pcb.geda-project.org/pcb-cvs/pcb.html#File-Syntax) it is not clear to
> > me what is the "scope" of the high resolution flagging by square brackets.
> >
> > For example, given a symbol like this:
> >
> > Symbol['!' 12]
> > (
> > SymbolLine(0 45 0 50 8)
> > SymbolLine(0 10 0 35 8)
> > )
> >
> > will the "scope" of the high definition squares extend to the children
> > (SysmbolLine)?
>
> To my knowledge, yes.
...
Sorry, wrong answer.
http://pcb.geda-project.org/pcb-4.1.0/pcb.pdf page 82:
8.8 File Syntax
A special note about units: Older versions of pcb used mils (1/1000 inch) as the base unit;
a value of 500 in the file meant half an inch. Newer versions uses a "high resolution" syntax,
where the base unit is 1/100 of a mil (0.000010 inch); a value of 500 in the file means 5
mils. As a general rule, the variants of each entry listed below which use square brackets
are the high resolution formats and use the 1/100 mil units, and the ones with parentheses
are the older variants and use 1 mil units. Note that when multiple variants are listed, the
most recent (and most preferred) format is the first listed.
I.e. anything within [ ] are high res., anything within () are mil
(except angles, strings etc.).
So the above is Symbol with delta 0.12 mil, and symbolline
from point1 = (0,45mil) to point2 = (50mil,8mil), etc.
///
BTW, it easy to test, just load the file you have, add text with a "!"
and measure.
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
- Raw text -