delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/01/19/09:50:33

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <569E4CE9.6030900@iee.org>
Date: Tue, 19 Jan 2016 14:49:13 +0000
From: "M. J. Everitt (m DOT j DOT everitt AT iee DOT org) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pcb loop paste buffer, renumber (first multi channel
design)
References: <20151021192359 DOT 3dd8ad6d253c781da5523554 AT gmail DOT com> <201510211839 DOT t9LIdVcv027165 AT envy DOT delorie DOT com> <20151021222506 DOT 79643602de30ad2dd5541165 AT gmail DOT com> <20151022115247 DOT 3c1c2f13 AT akka> <20151022123903 DOT dddb6c83fa5a3db0963f4162 AT gmail DOT com> <201510221641 DOT t9MGfxJq003243 AT envy DOT delorie DOT com> <20151022212642 DOT abe0686f3bb04a3067667c43 AT gmail DOT com> <201510221951 DOT t9MJpjgA013544 AT envy DOT delorie DOT com> <562951C5 DOT 2010500 AT xs4all DOT nl> <562B531C DOT 5090004 AT xs4all DOT nl> <20160118171041 DOT 60f9ff0fd41a668af0fa84f4 AT gmail DOT com> <569D3751 DOT 2020402 AT xs4all DOT nl> <569D4266 DOT 7000905 AT prochac DOT sk> <20160119135636 DOT 8b2397941a5d4c4f48c9a626 AT gmail DOT com> <569E3532 DOT 2000701 AT iee DOT org> <20160119145802 DOT 81daa1f66cbb5cfebbba834c AT gmail DOT com>
In-Reply-To: <20160119145802.81daa1f66cbb5cfebbba834c@gmail.com>
X-Provags-ID: V03:K0:ray4U+FTWj+vIVoo1PLYEjO0AOf+YREREnDNZYlxUjxVfZBhyET
a6pxKfATdsSWmmACTl+3Ap7NGaK8H2cnb2jiIu4aU5Boy69VVfeX2gu4WRPzbkFFJJhRMg+
gVFT+VDENvi3yzEGo0IUINMxreflnJyt/3ZT/Ccbp5Ho2ylD7pb4zHXbD56cNVvbgXMJqH9
9FpucBXgm77AoCaJa08BQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:BGpff+HyKLQ=:YfH+brG28pramxUNFU8sLv
bQ90Qjmhm9OmeqQMzu9GRI6YsWbhiG1uoJc6Re2x/XQ9Do0GpNXRfFn62dT3VfBKAAmJMeIJR
XbBRN+C6uLUsrNr42N8UR2CjkrruUi4S7K38AGzR2GikwIlnyOA25jxUtU7CV563/j/zZY0VJ
ctdVyGu0gNPxDundPoapQOXlLaBadp6SwaLoNTdxl1alNxYLWMOknQprk+BlHl4iZpSX8/ipI
h2QWvL3ajJ1Vgx28KdRZhpyian0h3UH83gsI1zpt4PRdq/pKL00moYpxdlr6487JsB379kfJ0
3Dl63r2V7TnzzQdzC5Mc9G8yJCeBiT5I66OhgkINb1dsbqjTP6X3bZ+sT1dDd5g5nsI11yhB7
An0Sou2OnO5wA5sE1urRY2fURhc2ze99CU5HyG7uJCyVx0huw3kkOaz53jhVSMykwW2U9EINw
ntDv9oMao7h68mQ2pUxXMgAn9m5cc5QTK1eXFJN9N3eHu1RcE8h79e9M8xbde7vP+XCtOml0L
Q08Erwj8hH5OHVjBUyCxXDbDbTj6tKKXV79thgOlH5zAKfzUICR2W3jANk2HjVNzUrOVvw4P3
10TW7ma6fBAfiHMz+kRu6seaD6zk6o0975zYPxWxZi4xoPQP+mVo6k/Z1biAC102ZRIgjxzBs
ESXE250tjMrR2lPCm9PRRc2BbhcR3TpGc0Rg2q7Tohs9U5rFa+3PQSCtLXulabAyWDyPcd30r
iRCb77rKjyLXebTS
Reply-To: geda-user AT delorie DOT com

On 19/01/16 13:58, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via
geda-user AT delorie DOT com] wrote:
>>> I tested and as far as I understand it works like this:
>>> x is old refdes number
>>> n increase with this value
>>> Rx --> Rx+n
>>>
>>> I have subsheets and numbers look like this:
>>> x is old refdes number
>>> n increase with this value
>>> want this S2/S1/Rx --> S2/S1+n/Rx
>>> but get this S2/S1/Rx --> S2/S1+n/Rx
>>> and the need is to change subsheet number and use this for another channel.
>>>
>>> For rename to work reasonable well there must be an integer difference between refdeses for different channels. Default for subsheet is Sn/Sn/Rx there where are two level of hierachy but it use quite a lot of space. To add an integer value to refdes use less space. I could add some kind of wild card so that both changing subsheet and adding an integer value to current subsheet works?
>>>
>>> I also add comment then this is used. Sometimes layout data need to be reused for several channels and in such case it is possible to simply select the layout, copy, rename refdeses and paste. Then doing a multi channel copy and paste really speed up design work.
>>>
>> For this purpose, if you have a schematic, I just use "Autonumber
>> attributes" in gschem ...
> Well gschem is not a problem. If you have done the layout of one channel for example a half bridge in a three phase circuit it is possiblo to copy and paste this layout including lines for copper traces but to get connections right refdeses must be changed.
>
> To copy layout for one a channel in pcb is really powerful yet simple to understand. Ideally somewhere in the future I think selector to select which subcircuit currently is worked on for this purpose would be an improvement but simple copy is essentially already there.
>
> Nicklas Karlsson
I can see your dilemma. Perhaps the best way to handle this (as I've
seen in other apps) is simply to add a '_copy' suffix to the refdes when
you paste it, and then handle renaming from there. It's a difficult
case, I can see what you'd like to do .. but in practise I think there's
a lot of code required to figure out your netlisting mix/match .. the
software has no way of knowing where your 'new' circuit has come from,
or what you want to 'assign' it to in an existing netlist/schematic, so
it would have to be a very simple rename rule.

MJE

- Raw text -


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