Netclasses don't seem to "stick" and track width setting is ignored

I’m sure I missing something basic, but (of course) don’t yet know what that is. I’m using 7.0.6. I’ve created a “USBD” netclass for routing USB data pairs and have set trace width/spacing in board setup. I have 16 nets with labels: UD1P, UD1N, UD2P, UD2N etc. In schematic setup, I assigned all of them to my “USBD” class using UD* as the pattern and selected the “USBD” netclass for them.

Problem 1. After saving and updating the board, When I right click on any of these nets, and click “Assign Netclass”, the popup says the netclass is “PWR”, not “USBD”. Does this popup NOT say the current netclass, and always start with PWR in the pulldown? If so, how do I read back the netclass of a net? Because it seems like the class is not sticking as evidenced by problem 2.

Problem 2. When I route a diff pair which supposedly has a USBD class, the trace width I have set is not used. I have 0.25mm set, and it uses 0.2mm (default). It also is not using the width I have set for power either, so somehow it seems that my netclass assignments in schematic setup are not doing what I thought.

Can anyone steer me on track (ha ha)?

Does this popup NOT say the current netclass, and always start with PWR in the pulldown?

Yes, this popup does not show the current netclass assignment and starts always with a arbitrary netclass.

If so, how do I read back the netclass of a net?

Fastest way:

  • with left-click select a net (in schematic) or a routed track (in board) and look at the statusbar. There is the “resolved netclass” displayed.

Can anyone steer me on track

If possible attach your zipped project (kicad manager–>File–>archive project) to this thread.

OK. I now see the netclass at the bottom, and it is USBD for the proper lines. Thanks for that. I didn’t see it before because KiCad PCB Editor crops the bottom edge of it’s window (and half the status bar) for some reason on my monitor. If I move the window to my laptop screen, it shows OK (a problem for another day).

But I still do not get the proper trace widths. I’ve attached the file. I ran a short diff pair from J18 to show the issue. In Board Setup I set the trace width for the USBD netclass to 0.35mm, but the trace I get is 0.2mm
Pump Board Waffle r1.zip (492.6 KB)

I ran a short diff pair from J18 to show the issue

The r1.zip doesn’t contain this short track. Seems your attachment is not the last saved version.

Nevertheless, I think you have filled in the false column in the netclass dialog.

That’s it. Thank you.

This is the 2nd issue caused by weird windowing hiding important info. I know I shouldn’t have missed the slider bar there indicating the window should be wider, but it seems like no window that KiCad opens in a convenient size. I have two monitors, and sometimes when I hit E on a part, the popup window is huge and spills over both monitors, so that I have to drag it around 2 or three times to get a view of the edges. Then there are others that open tiny and have to be expanded.

Anyway, thanks very much.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.