Incorrect large arc generated in gerber file for zero length arcs.
Description
When there are zero length arcs/tracks. The rendered Gerber is buggy; it can contain very large arcs.
Steps to reproduce
- Have a tiny track as shown in figure.
- Run plugin rounded tracks, this adds multiple tracks are arch, which are very small, the resulting Gerber has a very large arc.
GerbView shows:
Example Project: KICAD_GERBER_PLOTTER_BUG.zip
KiCad Version
Application: KiCad PCB Editor 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 11 (build 22621), 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
Edited by Arpan Jati