kicadScripts icon indicating copy to clipboard operation
kicadScripts copied to clipboard

Warning Overflow KiROUND during plot_board

Open lpdx opened this issue 3 years ago • 2 comments

I'm using KiCAD 6.0.1, Inkscape 1.1 and I'm getting this message lot of times (with distinct numbers) while running plot_board.py.

12:51:02: Warning: Overflow KiROUND converting value -377147830500.000000 to 湩t㩸ϛ淣뻀崀逇რ翼

(this kind of message prompts 19 times while plotting a small dual-layer board.)

At the end I had success ploting it.

Is there a way to supress this warning?

Kicad detail version:

Application: KiCad (64-bit)

Version: (6.0.1), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

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

Build Info:
	Date: Jan 15 2022 13:36:27
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

lpdx avatar May 05 '22 16:05 lpdx

I've seen this too when using these scripts with KiCad 6.

I've not poked around too deeply into their root cause as they're just warnings. But it may be possible to avoid hitting these warnings.

gregdavill avatar May 06 '22 00:05 gregdavill

It would be nice a option to silent theses warnings so we can use your code to run in automatic fashion.

lpdx avatar May 10 '22 14:05 lpdx