KiCad 3D Viewer Warning : "Overflow converting value inf to int."
Description
I am getting a warning message that says "KiCad Warning : Overflow converting value inf to int." whenever I open the 3D Viewer from the PCB Editor. But this is not affecting any normal functionalities of the application, or I was not able to see any. Clicking the OK button will close the warning and I can work normally.
The warning appears only for a few of my PCB designs, not all of them. As per @sethhillbrand 's suggestion, I tried deleting each part of the PCB design (in a binary approach) and narrowed it down to a single track on the top copper layer. I have attached the PCB file.
Steps to reproduce
- Open the provided PCB file.
- Open the 3D viewer to see the warning.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.0.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13
Platform: Windows 11 (build 22624), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 11 2023 03:41:46
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by Vishnu Mohanan