Skip to content

[Feature request] Copy net classes'colours from schematics to pcb

Description

When using net classes, I think colours are very useful in the schematics and the PCB. So I think it would make sense that the colours defined in the schematics are copied to the PCB. Some colours won't render as well so the possibility of changing a few (or all) is a must.

I think that the current net classes window could be changed for something like this :

Name Wire's width Bus'width Line style Schematic color [check/sort the column] PCB colour (other columns that are not shown by default)
NetClass1 0.1524mm 0.3048mm Solid #DD8500FF [check box] --> unchecked #00000000
NetClass2 0.1524mm 0.3048mm Solid #008484FF [check box] -- checked #008484FF

Steps to reproduce

  1. Define net class colours in schematics
  2. Attribute net classes to nets.
  3. Import schematic to the PCB layout

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 8.0.0-rc2-411-g4622738c93, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.3.0
	FontConfig 2.14.2
	libcurl/8.5.0-DEV Schannel zlib/1.3

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Feb  8 2024 06:18:12
	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.5.0-DEV
	ngspice: 42
	Compiler: Visual C++ 1936 without C++ ABI

Build settings:


Edited by Maik Freitag