X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=D3ZECXwLEiY0xxSkL5IAFVFd3XZMxuZ+jyyhzqC5R/w=; b=VnOCe//cWMbF9BJvc5mPl/G7vGk7zQ1wbB/dPTUli0ucKDK6EcnQu11lbx7pc28pbA uw1dF30uCFqklZQlqeFAMoeXEqwlSTadR4EkwajrgtfwqcWC+SIhOFvupQlFkNlbciZl hFfzSU+RoFSQIh7bIYw53dDYBL95uZS9SQHJLSLkEH4E6P4//yQZoyEzc88m4EW4QEtB /Iiyyfl3CN/QR5I4/3O2+B8gwOqV3FQTRRc6FqxW1eg43nWEJmv0d4//L1ywloYQNhGw A+4zHuzczAigcZouCGtvN4zEvLHqqgESMnuL7XnWGtwV2t5odACNWht7HJVRd0jGayZA +u4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=D3ZECXwLEiY0xxSkL5IAFVFd3XZMxuZ+jyyhzqC5R/w=; b=s6pqssTz2gTa7SbopS+7dA5W1Hz+K1NLh+ANFFPbH4a5orLuhhMqMa4HrkYMmZ8+qX SA0oBBs0bvxq72mqWclNbdymBwnq75sFK6yZMtT/StuCwXDSC3Y6x52GOeNS+5qnVfWN xeGIgZtsxNwI73AMCJ+J8CKSA3aC4vpWpOn3KQ0VRYCAaU21v5Y82aixrXiBXjjnjFEZ ipb75OcI3qItzjIpUgs2b9ZZmKVlAgWrUAhXK8ELCEmEp2FfPK7QU1wEhviuJoM8JOil ZsPhtiH3r0zsgjkf6vn/g79YGCk0jvVldoQh/y1nrshY8ntxJrwezEUqe1CIfpH/L3W3 NjIA== X-Gm-Message-State: AKwxytcpsKMFLgBa7WmFobbMuAVGvw1mcifa2s3Q2bMHtffHNu2BFxAr lyLNyVZEPVqOiVwRhkrT8iVBtV0P8B72SS/DKxM= X-Google-Smtp-Source: AH8x224iBnBqNCiNx9LZVAxOoIyCiixfsiQmK6Psz3CWVhpCFWkeJr+smCXnlClPAfG7VFs9OuryfXRQF/UhiBkVcIU= X-Received: by 10.98.80.20 with SMTP id e20mr43540663pfb.148.1517683166139; Sat, 03 Feb 2018 10:39:26 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180203160317.GR12911@raven.inka.de> References: <20180203160317 DOT GR12911 AT raven DOT inka DOT de> From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Sat, 3 Feb 2018 13:39:25 -0500 Message-ID: Subject: Re: [geda-user] Scope of the hires flag in PCB file format? To: geda-user AT delorie DOT com, Josef Wolf Content-Type: multipart/alternative; boundary="001a11461d8cffd7a305645325a9" Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --001a11461d8cffd7a305645325a9 Content-Type: text/plain; charset="UTF-8" Josef- The pcb file format is a little difficult to interpret and work with. Presumably your goal is to load data from pcb into some other program. My suggestion to you would be to write a pcb exporter to a format supported by that other software rather than try to write software to parse pcb files. I think this would be easier, and you'd be able to do a more complete job. I'd be happy to show you how, or help you to do this. Cheers, --Chad On Sat, Feb 3, 2018 at 11:03 AM, Josef Wolf wrote: > Hello, > > I am trying to write a parser for the PCB file format. > > 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)? > > BTW: http://pcb.geda-project.org/pcb-cvs/pcb.html seems to be somwhat > outdated. Is this the current documentation or should I look somewhere > else? > > Thanks! > > -- > Josef Wolf > jw AT raven DOT inka DOT de > --001a11461d8cffd7a305645325a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Josef-

The pcb file format is = a little difficult to interpret and work with. Presumably your goal is to l= oad data from pcb into some other program. My suggestion to you would be to= write a pcb exporter to a format supported by that other software rather t= han try to write software to parse pcb files. I think this would be easier,= and you'd be able to do a more complete job. I'd be happy to show = you how, or help you to do this.

Cheers,
--Chad

On Sat, Feb 3= , 2018 at 11:03 AM, Josef Wolf <jw AT raven DOT inka DOT de> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Hello,

I am trying to write a parser for the PCB file format.

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:

=C2=A0 Symbol['!' 12]
=C2=A0 (
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 SymbolLine(0 45 0 50 8)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 SymbolLine(0 10 0 35 8)
=C2=A0 )

will the "scope" of the high definition squares extend to the chi= ldren
(SysmbolLine)?

BTW: http://pcb.geda-project.org/pcb-cvs/pcb.html seems to be somwhat
=C2=A0 =C2=A0 =C2=A0outdated. Is this the current documentation or should I= look somewhere
=C2=A0 =C2=A0 =C2=A0else?

Thanks!

--
Josef Wolf
jw AT raven DOT inka DOT de

--001a11461d8cffd7a305645325a9--