EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.suggest.eng » Rename existing floating wire segment in board
Rename existing floating wire segment in board [message #167587] Tue, 25 October 2016 10:47 Go to next message
Morten Leikvoll
Messages: 1343
Registered: November 2007
Senior Member
If a signal segment has the signal name of an existing net present in
the schematic, Eagle refuses to rename it. You will get "please do this
in the schematic" message.

Now, if this segment was "floating", meaning it was not connected to any
of its target pins, or ending in airwires, why prevent this renaming? I
do support this "error" message when it is connected to one or more
target pins (although sometimes I would like to override it).

For now, I will write this function into my toolbox (ulp).
Re: Rename existing floating wire segment in board [message #167589 is a reply to message #167587] Tue, 25 October 2016 14:57 Go to previous messageGo to next message
Lorenz
Messages: 639
Registered: December 2006
Senior Member
Morten Leikvoll wrote:
> If a signal segment has the signal name of an existing net present in
> the schematic, Eagle refuses to rename it. You will get "please do this
> in the schematic" message.
>
> Now, if this segment was "floating", meaning it was not connected to any
> of its target pins, or ending in airwires, why prevent this renaming? I
> do support this "error" message when it is connected to one or more
> target pins (although sometimes I would like to override it).

if I understand you correctly, you want to 'reuse' an already routed
track for a different net.
After the rename the original net then would have an air wire instead
of the track.
--

Lorenz
Re: Rename existing floating wire segment in board [message #167596 is a reply to message #167589] Wed, 26 October 2016 07:18 Go to previous messageGo to next message
Morten Leikvoll
Messages: 1343
Registered: November 2007
Senior Member
On 25.10.2016 16:57, Lorenz wrote:
> Morten Leikvoll wrote:
>> If a signal segment has the signal name of an existing net present in
>> the schematic, Eagle refuses to rename it. You will get "please do this
>> in the schematic" message.
>>
>> Now, if this segment was "floating", meaning it was not connected to any
>> of its target pins, or ending in airwires, why prevent this renaming? I
>> do support this "error" message when it is connected to one or more
>> target pins (although sometimes I would like to override it).
>
> if I understand you correctly, you want to 'reuse' an already routed
> track for a different net.
> After the rename the original net then would have an air wire instead
> of the track.
>

Correct. I am doing large designs and sometimes I find a long wire
segment already laid down is more suitable for a different signal, or I
simply want to swap two wire segments because it will ease routing.
Re: Rename existing floating wire segment in board [message #167597 is a reply to message #167596] Wed, 26 October 2016 14:10 Go to previous messageGo to next message
Chuck Huber
Messages: 593
Registered: October 2004
Senior Member
On 10/26/2016 03:18 AM, Morten Leikvoll wrote:
> On 25.10.2016 16:57, Lorenz wrote:
>> Morten Leikvoll wrote:
>>> If a signal segment has the signal name of an existing net present in
>>> the schematic, Eagle refuses to rename it. You will get "please do this
>>> in the schematic" message.
>>>
>>> Now, if this segment was "floating", meaning it was not connected to
>>> any
>>> of its target pins, or ending in airwires, why prevent this renaming? I
>>> do support this "error" message when it is connected to one or more
>>> target pins (although sometimes I would like to override it).
>>
>> if I understand you correctly, you want to 'reuse' an already routed
>> track for a different net.
>> After the rename the original net then would have an air wire instead
>> of the track.
>>
>
> Correct. I am doing large designs and sometimes I find a long wire
> segment already laid down is more suitable for a different signal, or
> I simply want to swap two wire segments because it will ease routing.
>

I'm listening intently to this thread. I've had this need on numerous
occasions.

Jorge? Care to chime in?

- Chuck
Re: Rename existing floating wire segment in board [message #167609 is a reply to message #167597] Thu, 27 October 2016 19:28 Go to previous messageGo to next message
Jorge Garcia
Messages: 1284
Registered: April 2010
Senior Member
> I'm listening intently to this thread. I've had this need on numerous
> occasions.
>
> Jorge? Care to chime in?
>
> - Chuck
>
>

Hi All,

I can't speak for the devs, but I think that they choose to err on the
side of caution and just completely forbid net renaming on the board.

In this particular case I'm having a hard time thinking of a good reason
for this behaviour. I think the risk would be that if the floating
segment has the same name as an existing net then renaming that segment
would rename the whole net.

The proper thing to do in this situation would be to have a dialog
similar to the polygon where you would have the options:
-rename only this segment
-rename entire net

Currently no such dialog is setup on the board side. I do think it is a
reasonable request, a few things in EAGLE would have to change though.

Best Regards,
Jorge Garcia
Re: Rename existing floating wire segment in board [message #167615 is a reply to message #167609] Fri, 28 October 2016 07:08 Go to previous messageGo to next message
Morten Leikvoll
Messages: 1343
Registered: November 2007
Senior Member
On 27.10.2016 21:28, Jorge Garcia wrote:
>> I'm listening intently to this thread. I've had this need on numerous
>> occasions.
>>
>> Jorge? Care to chime in?
>>
>> - Chuck
>>
>>
>
> Hi All,
>
> I can't speak for the devs, but I think that they choose to err on the
> side of caution and just completely forbid net renaming on the board.
>
> In this particular case I'm having a hard time thinking of a good reason
> for this behaviour. I think the risk would be that if the floating
> segment has the same name as an existing net then renaming that segment
> would rename the whole net.
>
> The proper thing to do in this situation would be to have a dialog
> similar to the polygon where you would have the options:
> -rename only this segment
> -rename entire net
>
> Currently no such dialog is setup on the board side. I do think it is a
> reasonable request, a few things in EAGLE would have to change though.

I see this as a valid concern. Especially when you edit a board alone.
For sch+brd consistant projects, renaming a net should be a sch only
feature, but I do see that would cause some inconsistancy and potential
backward compatibility ulp issues.

There are sexy ways around it, but that means you have to stop making
command line unfriendly and forced requesters (who decided to use that
in die hard command line based platform like Eagle anyway?). Do it, like
suggested in older posts, with optional command line arguments instead,
and you can keep all the default options legacy-like. This goes for all
the existing requesters too. (Yes I know you can use set confirm, but
that option is incomplete for a lot of the requests).
Re: Rename existing floating wire segment in board [message #167651 is a reply to message #167609] Tue, 01 November 2016 15:43 Go to previous messageGo to next message
justyn
Messages: 21
Registered: October 2014
Location: UK
Junior Member
I would really like to see this feature too, and I think a dialog similar to what you describe would be a good way to do it.
Re: Rename existing floating wire segment in board [message #167652 is a reply to message #167651] Tue, 01 November 2016 18:33 Go to previous messageGo to next message
Jorge Garcia
Messages: 1284
Registered: April 2010
Senior Member
On 11/1/2016 11:43 AM, Justyn wrote:
> I would really like to see this feature too, and I think a dialog similar
> to what you describe would be a good way to do it.
>

Hi Guys,

I have just filed an enhancement report for this one. Sorry I took so long.

Let me know if there's anything else I can do for you.

Best Regards,
Jorge Garcia
Re: Rename existing floating wire segment in board [message #167664 is a reply to message #167652] Thu, 03 November 2016 12:04 Go to previous message
Morten Leikvoll
Messages: 1343
Registered: November 2007
Senior Member
On 01.11.2016 19:33, Jorge Garcia wrote:
> On 11/1/2016 11:43 AM, Justyn wrote:
>> I would really like to see this feature too, and I think a dialog similar
>> to what you describe would be a good way to do it.
>>
>
> Hi Guys,
>
> I have just filed an enhancement report for this one. Sorry I took so long.
>
> Let me know if there's anything else I can do for you.

Thanks Jorge.. I just found another issue that is closely related to
this issue.

The "rename oldname newname" command doesnt work for wires/nets in board
editor.

At least I would like this to be possible for nets not present in the
schematics, cause now I get told to do it in the schematic... where it's
not present.. Thats a bit funny..

I want to use this to rename pasted wires to whatever they are connected
to. As you know, pasted wires gets a new netname. Now I have to use
"name newname (x y)" to get to it, and that is not so nice, cause other
items may be at (x y) too, even at the same layer. Even hiding all the
other layers doesnt get around all cases.
Previous Topic: How good is LT Spice with Eagle?
Next Topic: Interactive labels
Goto Forum:
  


Current Time: Mon Apr 24 15:05:48 GMT 2017