"Single pad nets delete" option of Read netlist is unnecessary

Bug #1615755 reported by Novak Tamas on 2016-08-22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Low
Jeff Young

Bug Description

I can't see the reason for "Single pad nets delete" option of Read netlist.

Eeschema always includes single pad nets (unconnected pins, even if they are flagged not-connected in schematic) in netlist.
If this netlist is read into pcbnew, these single-pin nets will be loaded.
When Reading netlist next time, nothing happens if Single pad nets option is set to Keep.
On the other hand, if this option is set to Delete, every run of Read netlist
generates pairs of

Changing component "D2:/54AFB4C9" pin "3" net name from "" to "Net-(D2-Pad3)".
Remove single pad net "Net-(D2-Pad3)" on "D2" pad '3'

messages for each of unconnected pins.

If you don't want to be flood by messages and filter out Infos and Warnings, these messages keep displaying as they are type of Action. Actions and Errors disabled is really bad idea.

My wish is opting out "Single pad nets delete" option from Read netlist (it should always work like set to "Keep"). Rather may have an option in eeschema Generate netlist, "Eliminate single pad nets from netlist"

PCB Wiz (1-pcb-wiz) wrote :

There are 2 items here -

1) Novak wrote " Rather may have an option in eeschema Generate netlist, "Eliminate single pad nets from netlist"

That wishlist item I agree with, it would be a good idea to have the choice to not generate single-pin-net info, coming out of Sch.

2) Novak wrote "My wish is opting out "Single pad nets delete" option from Read netlist (it should always work like set to "Keep"). "

That one is trickier, as NET import does not _always_ come from EESCHEMA, and operations like Append, may _require_ single pin nets to be present, to correctly join another reference.

I think the _choice_ to remove single pin on import is quite useful, but your point about spurious
messages is valid - perhaps a [Quiet] tick choice, next to the Single-Pin choice ?

Related to all this, I think I saw a design with some no-net PADS, that got a little confused when I generated a Pour outline with Net Name of None or ""

IIRC PcbNew seems to think a Pad with "" and a Fill with "" are the same net.
That detail may need checking, before wholesale strip of Single-Pin Names is undertaken.

Changed in kicad:
status: New → Opinion
Eldar Khayrullin (eldar) wrote :

Now with the tool 'Update PCB from Schematics' it is no way to delete single-pins or pins with No Connect Flag.

Eldar Khayrullin (eldar) wrote :

I think the eeschema should doesn't include pins with No Connect Flag to netlist for tool 'Update PCB from Schematics'

Jeff Young (jeyjey) wrote :

Update PCB from Schematic does have a "Delete single-pad nets" checkbox (at least in 5.0).

It remains quite verbose, however, so I'll look into that.

Changed in kicad:
status: Opinion → Triaged
importance: Wishlist → Low
assignee: nobody → Jeff Young (jeyjey)
Jeff Young (jeyjey) on 2018-07-09
Changed in kicad:
status: Triaged → In Progress
milestone: none → 5.1.0
Jeff Young (jeyjey) on 2018-07-17
Changed in kicad:
status: In Progress → Fix Committed
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision a52605957eadf4977dad9740cb0692dfc1496bf2
https://git.launchpad.net/kicad/patch/?id=a52605957eadf4977dad9740cb0692dfc1496bf2

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers