Board statistics dialog: negative/wrong area calculation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Low
|
Seth Hillbrand |
Bug Description
Hi,
I've been testing this new board statistics dialog and I think it is a nice addition.
There seems to be something wrong with the area calculation, though. See results below:
Board
Width: 125.000 mm
Height: 125.000 mm
Area: -0.002 mm²
Simple kicad_pcb attached. It's a square, not even weird shapes nor cutouts.
Thanks!
Application: Pcbnew
Version: 6.0.0-unknown-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-157-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: pcbnew |
Changed in kicad: | |
importance: | Undecided → Low |
Can't reproduce on macOS.
Application: Pcbnew 1384-g7b5b807a8 ), debug build compatible with 2.8)
Version: (5.1.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
wxWidgets: 3.0.4 (wchar_t,STL containers,
Boost: 1.70.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.54.0
Compiler: Clang 10.0.1 with C++ ABI 1002
Build settings: SCRIPTING= OFF SCRIPTING_ MODULES= OFF SCRIPTING_ PYTHON3= OFF SCRIPTING_ WXPYTHON= OFF SCRIPTING_ WXPYTHON_ PHOENIX= OFF SCRIPTING_ ACTION_ MENU=OFF GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON