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) Content-Type: text/plain; charset=us-ascii From: John Doty 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: <2CB304B5-9587-4734-84E4-49F464744D11 AT noqsi DOT com> <6BF2E986-51EB-41E9-A4AD-8071CD00B1A1 AT jump-ing DOT de> <834283D4-0891-486E-A981-2FF20B32C615 AT noqsi DOT com> <54CAA7EE-7638-4B89-8197-111D0493F859 AT noqsi DOT com> <508CE947 DOT 4050408 AT xs4all DOT nl> <665E18E2-E9F9-40E4-9DE1-CC8FDBBDCB00 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 X-Mailer: Apple Mail (2.1085) Content-Transfer-Encoding: 8bit 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 Precedence: bulk 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