Pcbnew forces track size to something else

I found me a bug (or feature perhaps)

I run a board setup in a different project with as purpose to recycle and import it in other projects.

I made several track sizes. The problem I am having. When I try to select a width other than the default. Pcbnew won’t accept it and forces it to 0.140mm and I don’t know why. I think there might be something wrong in me board settings. But I cannot find it.

I attached the project as zip.
pointWizard.zip (357.9 KB)

afbeelding

So bug or feature?

Bas

Is it this setting ?

image

No. When I try to select a predefined track wiidth. Pcbnew will not use that track width but forces it 0.140mm.

I have traced the problem back to the imported board settings. This button does not seem to work really well. I do get all my trace widths from the other board but I cannot use them. I had to redefine new track widths
afbeelding

Bas

Your description sounds like a bug, but I was not able to reproduce it. “Import settings from another board” worked well on a first test.
Maybe there must be more additional requirements fulfilled before the issue shows up? (language setting? something with comma <–> point as separator?)

Just looked into your provided example “pointWizard.zip”: this doesn’t contains any predefined track-width at all.

this doesn’t contains any predefined track-width at all.

That I noticed. I also missed other settings for tollerances n such. But how do you explain the fact that I did get to see this small list? This list comes from the other project. Apparently a part of the import worked, while an other part did not.

Application: KiCad x64 on x64

Version: 7.0.7, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1
	libcurl/7.88.1-DEV Schannel zlib/1.2.13

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

Build Info:
	Date: Aug 14 2023 02:42:39
	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.81.0
	OCC: 7.7.1
	Curl: 7.88.1-DEV
	ngspice: 40
	Compiler: Visual C++ 1936 without C++ ABI

Build settings:
	KICAD_SPICE=ON

I tried again…

I clicked import, checked ‘select all’ and clicked import settings.

Directly afterwards I see the board setup list all new track widths (also a via size)

And now it does work…

afbeelding

That was really weird :thinking: … I am sure I did the exact same steps in the first try. Am I that ‘special’ that I can screw something as easy as this up? :smiling_face_with_tear:

Regards :coffee:

Bas

1 Like

Sometimes the program just get ‘corrupted’ in memory somehow. I had a crash documented and ready to post here once but it didn’t survive a system reboot.

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