delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/10/31/16:52:20

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Subject: Re: Objects of objects (was Re: [geda-user] The state of gEDA/gaf (Was gEDA/PCBs diversity, Was: Pin hole size))
Mime-Version: 1.0 (Apple Message framework v1085)
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <20121031090732.A88298117B46@turkos.aspodata.se>
Date: Wed, 31 Oct 2012 10:44:41 -0600
Cc: geda-user AT delorie DOT com
Message-Id: <8835FFD4-C2F8-4EBF-BA06-2EFD38B47865@noqsi.com>
References: <CANqhZFxYH+Y5U1ai7ey-s+4nz6eYDM2vx3aMDb7WuigNXmi4AQ AT mail DOT gmail DOT com> <2CB304B5-9587-4734-84E4-49F464744D11 AT noqsi DOT com> <CANqhZFwPNG4R1dR2X0HB+tP1JzNXUAVg55gy54Lry5E49aAQ6Q AT mail DOT gmail DOT com> <E9D200C7-475C-4CC7-A592-5A6C14B3EA25 AT noqsi DOT com> <6BF2E986-51EB-41E9-A4AD-8071CD00B1A1 AT jump-ing DOT de> <834283D4-0891-486E-A981-2FF20B32C615 AT noqsi DOT com> <C3C35AF4-24D1-4977-9134-2C0B13473D01 AT jump-ing DOT de> <54CAA7EE-7638-4B89-8197-111D0493F859 AT noqsi DOT com> <D59D8F6D-0436-4A8D-AFC0-5124BD3031D6 AT jump-ing DOT de> <508CE947 DOT 4050408 AT xs4all DOT nl> <665E18E2-E9F9-40E4-9DE1-CC8FDBBDCB00 AT noqsi DOT com> <CAC4O8c8Q_MSCg6af5Ro13KefdTkMFeEWXyQLrMWZsTw+yJLA6g AT mail DOT gmail DOT com> <EF4E82A7-A7C2-4FD9-B7C4-0EF7AEC54DA9 AT noqsi DOT com> <508EE43F DOT 5050505 AT neurotica DOT com> <9B14233C-F3A7-489C-BDC7-F6EAAAFCAB51 AT noqsi DOT com> <508EECDA DOT 8090803 AT neurotica DOT com> <66595C14-BF73-4FD2-A842-78EBA12CF9C9 AT noqsi DOT com> <20121031090732 DOT A88298117B46 AT turkos DOT aspodata DOT se>
To: Karl Hammar <karl AT aspodata DOT se>
X-Mailer: Apple Mail (2.1085)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q9VKpqke012352
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

On Oct 31, 2012, at 3:07 AM, Karl Hammar wrote:

> John Doty:
>> On Oct 29, 2012, at 2:53 PM, Dave McGuire wrote:
>>> On 10/29/2012 04:38 PM, John Doty wrote:
> ...
> [about pcb]
>>>> To me, the conceptual mess remains. As I said, it's like driving
>>>> through downtown Boston: it's all random special cases, no
>>>> structure.
>>> I dunno.  The boards I make with it work just fine.  Why do I never
>>> run into these limitations, when I use PCB very frequently, while you, a
>>> person who just said they don't lay out their own boards, see all of
>>> these horrible problems?
>> 
>> I can't grok all the magic properties of its peculiar set of
>> abstractions. "Polygon" doesn't mean a geometric object and
>> "elements" are not elementary.
> 
>> The idea that objects are composed of objects composed of objects, ... is missing.
> ...
> 
> This kind of recursion is missing from gschem also, or rather from
> the sch/sym file formats.

It's potentially there in the format, in several flavors, actually.

1. An embedded symbol is a composite object (but gschem can't edit it, which is an annoying restriction).

2. The format allows you to attach any collection of objects to any object. The tools don't, however, support this except for attributes (and the attachment must be flat, although the format uses {}, making this potentially nestable).

> 
> You can get it - sort of - by special casing a symbol with a
> source attribute.

That's another way. I don't know why you call this "special casing": I consider this a perfectly normal use of a symbol (usually a custom symbol representing the subcircuit). I do this very frequently.

> 
> The above kind of recursion would be nice to have, are people positive
> to a discussion that would lead to an implementation of it ?

I know Peter Brett is hostile to allowing the file format to be used in generalized ways: he wants to have semantic restrictions in libgeda. But as a user of the unappreciated flexibility in the format (see, for example, pins2gsch at http://www.gedasymbols.org/user/john_doty/tools/ once DJ gets back on line), I oppose this.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019