Via Tool should get net of tracks.

Bug #1718829 reported by Strntydog
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Unassigned

Bug Description

When using the Via Tool, the Via defaults to "No Net", however this causes design violations in certain circumstances, for example, using the Via tool to place a via between tracks.

The Via placed with the Via Tool, should get its net from entities it is placed upon. For example:

1. Place Via on a Pad (No other entities overlap in the board stack): Via gets Net of the pad.
2. Place Via on a track (No other entities overlap in the board stack): Via gets Net of the Track.
3. Place Via over intersection of two (or more) tracks/pads with the same net (No other entities overlap in the board stack): Via gets Net of the intersecting tracks.

4. Place Via over entities which overlap, but do not ALL share the same Net, would cause a DRC violation and should not be allowed with DRC checks enabled.

5. Place Via on a fill (with no other fill or entity overlapping): Via gets Net of the fill.

6. Place Via on a area where multiple fills overlap: Via gets Net of the fill on the current selected Layer.

There may be more circumstances, but in each case, the Via tool should not cause a DRC error on the board (for example, by setting the Net to No Net but placing the via on a track with a Known Net.

Version:
Application: kicad
Version: no-vcs-found-e2505cb~60~ubuntu17.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) librtmp/2.3
Platform: Linux 4.10.0-33-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

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

Tags: gal pcbnew via
Revision history for this message
Jeff Young (jeyjey) wrote :
Changed in kicad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Strntydog (strntydog) wrote :

I disagree.

https://bugs.launchpad.net/kicad/+bug/1548129 is about an old track which ends up "isolated" on the board which resulted in it being assigned no-net when connectivity is recalculated.

This bug is about a brand new via being placed on the board (using the Via Tool), being arbitrarily and always assigned the net no-net.

Placing a NEW via or placing a NEW track should have the same rules. When you place a New track, if you start it on an old track it gets the net of the old track, not no-net. New vias should be the same, not just always be assigned no-net, regardless of where they are placed.

Revision history for this message
Jeff Young (jeyjey) wrote :

In both cases the router should consider "no net" as "any net", and change it to the net of the connected item.

Revision history for this message
Jeff Young (jeyjey) wrote :

Vias placed on pads, tracks and zones now pick up their respective nets.

The DRC issues are being tracked in: https://bugs.launchpad.net/kicad/+bug/1718827.

Changed in kicad:
status: Triaged → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
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.