www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/21/03:48:59

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=20120113;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-type:content-transfer-encoding;
bh=e2XzQ+4STi6QUo/JM/qowY9U0EJ4RjoKyR08GDJEEPQ=;
b=hu87oNJe9WasLSTQcAVQ1W7UipoFoaaP4azDfRO527r5es+uwo7ofowQDLDFOz/NBd
Z21PC8FY0jegYaKLIUN2JpN0c4QTBy0mCGPNNFduAxQM/tPOAnI2tlB+GNT5IS9x+JVm
cimWN1U11z/2oxAZV9uSbnNnKEN2GqmjheG5rJ8jQvHj7383gjaLhc0O0z75wWfWOAKs
ISmmLyrz48jbyA6hYNDngqOx8eh87uRi0iP+YutV4e60CIW1D42O3kOOIgHiRtbzgRAJ
Ds5BEUL7WcBdv3tSIU6IoWTdK/BJ7QEVcSVpDDzsIJjQ+gx+ZNFRIhlb0kStDeF7JqQI
g/lA==
X-Received: by 10.28.18.138 with SMTP id 132mr19127527wms.6.1450687683144;
Mon, 21 Dec 2015 00:48:03 -0800 (PST)
Date: Mon, 21 Dec 2015 09:47:58 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] was XML file format (parametric sheets, sub
circuits)
Message-Id: <20151221094758.c0561dd67d589726e883bb8a@gmail.com>
In-Reply-To: <567775EB.4050500@mcmahill.net>
References: <20151220120219 DOT c4644eef1a65b0eb2fb60d76 AT gmail DOT com>
<20151220122659 DOT 378AF809D791 AT turkos DOT aspodata DOT se>
<20151220120219 DOT c4644eef1a65b0eb2fb60d76 AT gmail DOT com>
<20151220125839 DOT 10228 DOT qmail AT stuge DOT se>
<20151220133436 DOT 0B120809D791 AT turkos DOT aspodata DOT se>
<20151220163208 DOT 1eb958feaaf024a483526fab AT gmail DOT com>
<567775EB DOT 4050500 AT mcmahill DOT net>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tBL8m85N013345
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

> > Yes sub circuits or sub layouts make sense. What would be needed is a selector to select to which sub layout added objects will belong, default sub layouts would probably be sub sheets. Then they belong to a sub layout they could be selected and moved or replaced with a modified copy. I have made two circuits boards there I copied and reused same layout data the last months.
> >
> > I think a selector to select sub layout would be rather simple to implement although I looked into file format and do not think it is possible to add the necessary information to objects or list of objects without a change of file format.
> >
> 
> I would really like to see PCB support hierarchical layouts.  Here are a 
> few reasons
> 
> - multiple, identical, channels for audio, or other data acquisition. 
> If they are supposed to be the same, why not have them truly be the 
> same.  Only do the layout once and have it propagate to all other 
> instances. ..·

Once it is possible to reference objects in a sub layout and they have a position in pcb it would be possible and probably rather straightforward to implement.

> ...
> - It helps with floorplanning on complex layouts.  You may find that a 
> block needs to grow and it can be easier to move over some larger self 
> contained blocks.
> ...

Usually there is a power supply and if this is placed on a subsheet which probably would default to a sub-layout. Then you make layout for the power supply you select the power supply layout.

If we assume sub-layout is implemented by a sub-layout attribute the footprints are assigned this attribute and then adding new objects like lines or polygons for connections these objects also get the same attribute.

Then you want to reference or select objects on a sub-layout software search the sub-layut attributes for the correct value and select these objects: --> Done. A sub-layout position attribute which also will enter selection would probably be useful.

A power supply usually is irregularly shaped but now it is simple to select and move. To reuse selected objects: copy --> if needed rename elements in buffer --> paste --> Done. It would also be useful to replace a sub-layout with content in buffer to keep it on same position then updating, position attribute is probably needed for this.


What would be need is a mechanism to assign objects to a sub-layout so they could be found then the ordinary move, cut, copy, paste would work.


Nicklas Karlsson

- Raw text -


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