Net naming propblem

Bug #1824782 reported by Anton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

I once got the name of a chain of the form Net-D?5BC1522A-Pad3, it was preceded by removing and adding the modified schematic element the same element of eeschema schematic, which corresponds to footprint on video. The project was created in kicad 4, on components under kicad 4, but the component that is being worked on in the video is added from the latest git build for kicad 5. With other components not tested. The problem is that for some reason you have to call "Update from schematic" twice.

One more moment. For some reason, the footprint is not always updated when it is edited and saved in the editor, when you click "Update from schematic". You have to remove is the footprint, the reassignment with new changes footprint in schematic does not help. Remove footprint leads to difficulties re-positioning after updating (applying changes from the schematic). For example, Housing DIP-40.

I know that there is such a button "update footprint on current PCB". The most interesting thing is that it becomes inactive when you open the footprint from the printed circuit Board for editing and save it in another (your library). Perhaps there is no reference in the current assignment to this footprint yet. Well, reassign the component changed footprint, but when you apply an update from the scheme footprint does not change, is not updated to a new one. For example, some footprint are the wrong diameter planting holes. Default is 0.8 the hole and in fact the electronic component, the diameter of the pin is 0.5. The hole should be 0.6. Therefore, the footprints have to be corrected and, in order not to change the default footprints, I save the changed ones in a separate place, which is available for both reading and editing.

Application: kicad
Version: (5.1.0-247-g252934694), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.34.0
Platform: Linux 4.19.8-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.63.0
    Compiler: GCC 8.2.1 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Anton (antonpupkov) wrote :
Anton (antonpupkov)
description: updated
summary: - PCBNew. (5.1.0-247-g252934694), release build. Net numirification
- propblem
+ PCBNew. (5.1.0-247-g252934694), release build. Net naming propblem
description: updated
Revision history for this message
Novak Tamas (novak-7) wrote : Re: PCBNew. (5.1.0-247-g252934694), release build. Net naming propblem

Anton, I've read your report and watched the video attached for 5 times or so, still can't clearly see your point. Please try to re-phrase what the issue is. If you see more problems, please separate them. You may give step-by-step instructions to reproduce the issue(s). If messages are important, you may set the language of KiCAD back to English for the time of screen capture (only few of us can read Russian text)

Changed in kicad:
status: New → Incomplete
Revision history for this message
Anton (antonpupkov) wrote :

Good. I may have incorrectly named the bug report, but it is near the destination links (ratsnest) in PCBNew. Pay attention to the moment when I delete the footprint, then add it through the "Update from current Board"button. Pay attention to the ratsnest. Then pay attention to how the ratsnest changes when I click the "Update from current Board"button.

Perhaps what is written below is a topic for another report:
--I know that there is such a button "update footprint on current PCB". The most interesting thing is that it becomes inactive when you open the footprint from the printed circuit Board for editing and save it in another (your library). Perhaps there is no reference in the current assignment to this footprint yet. Well, reassign the component changed footprint, but when you apply an update from the scheme footprint does not change, is not updated to a new one. For example, some footprint are the wrong diameter planting holes. Default is 0.8 the hole and in fact the electronic component, the diameter of the pin is 0.5. The hole should be 0.6. Therefore, the footprints have to be corrected and, in order not to change the default footprints, I save the changed ones in a separate place, which is available for both reading and editing.--

Revision history for this message
Anton (antonpupkov) wrote :

Why the button "Update from current schematic" need to click twice to all ratsnest there?
"Update from current Board" -> "Update from current schematic"

Revision history for this message
Aleksandr Sh (dsa-t) wrote :

About names like "Net-D?5BC1522A-Pad3":
https://bugs.launchpad.net/kicad/+bug/1824627

I see nothing wrong with the video. You've changed pin numbers but left net names the same. When you pressed update from schematic, net names changed using pin numbers according to schematic.

I'm not sure what is "Update from current Board"

Revision history for this message
Anton (antonpupkov) wrote :

Button "Update from current schematic" pressed twice, when all ratsnest are comes visible.

Revision history for this message
Anton (antonpupkov) wrote :

Made a separate project checked with the same footprint. The problem begins when you remove the footprint and add it again through the "Update PCB from Schematic"button. With the naming of chains occur strangeness.

Revision history for this message
Anton (antonpupkov) wrote :

The same problem is in https://bugs.launchpad.net/kicad/+bug/1824627, but I discovered it through PCBNew. Watch the video 16042019.mp4

Anton (antonpupkov)
Changed in kicad:
status: Incomplete → New
Revision history for this message
Aleksandr Sh (dsa-t) wrote :

If R2 have the same nets as on pads 1, 3 of D1 (It can't be seen), then there might be a problem.

Can you attach the project and the exact steps of where to click so everything is in she same state as in the start of the video?

Revision history for this message
Anton (antonpupkov) wrote :

Initially, the coponent is added immediately and all ratsnest appears. The problem manifests itself when, after adding the component, it is deleted and added to the board again through the button "Update PCB from schematic".

Revision history for this message
Anton (antonpupkov) wrote :

After first addig footprint...

Revision history for this message
Anton (antonpupkov) wrote :
Revision history for this message
Aleksandr Sh (dsa-t) wrote :

Cannot reproduce. See video. What am I doing wrong?

Revision history for this message
Anton (antonpupkov) wrote :

Please see 17042019.mp4

Revision history for this message
Aleksandr Sh (dsa-t) wrote :

I can reproduce the problem now.
"Delete single-pads nets" should be checked.

Application: kicad
Version: (5.1.0-273-g1437e56b7), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Changed in kicad:
status: New → Confirmed
Revision history for this message
Anton (antonpupkov) wrote :

Fine! We made it!

summary: - PCBNew. (5.1.0-247-g252934694), release build. Net naming propblem
+ Net naming propblem
Revision history for this message
jean-pierre charras (jp-charras) wrote :

Commit acf6c0ae (just committed) should fix this issue.

Revision history for this message
Anton (antonpupkov) wrote :

Great! Need to test

Revision history for this message
Anton (antonpupkov) wrote :

It works! Thank you!

Changed in kicad:
milestone: none → 5.1.2
status: Confirmed → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
Revision history for this message
Anton (antonpupkov) wrote :

Good! I will whait release 5.1.3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.