Some bezier curves created by KiCad are invisible in the PCB editor but show up in gerbers
Description
A bezier curve created with the kicad pcb editor bezier curve tool becomes invisible in the pcb editor, but shows up in gerbers. This should show up in the pcb editor. Confirmed in the version below on Linux and also in 9.0.6 release on Windows.
Steps to reproduce
- Paste the following into a KiCad document
- Observe that the object is not visible in KiCad
- Export gerbers
- Observe that the gerbers contain the object
(kicad_pcb
(version 20241229)
(generator "pcbnew")
(generator_version "9.0")
(layers
(0 "F.Cu" signal)
(2 "B.Cu" signal)
(9 "F.Adhes" user "F.Adhesive")
(11 "B.Adhes" user "B.Adhesive")
(13 "F.Paste" user)
(15 "B.Paste" user)
(5 "F.SilkS" user "F.Silkscreen")
(7 "B.SilkS" user "B.Silkscreen")
(1 "F.Mask" user)
(3 "B.Mask" user)
(17 "Dwgs.User" user "User.Drawings")
(19 "Cmts.User" user "User.Comments")
(21 "Eco1.User" user "User.Eco1")
(23 "Eco2.User" user "User.Eco2")
(25 "Edge.Cuts" user)
(27 "Margin" user)
(31 "F.CrtYd" user "F.Courtyard")
(29 "B.CrtYd" user "B.Courtyard")
(35 "F.Fab" user)
(33 "B.Fab" user)
(39 "User.1" user)
(41 "User.2" user)
(43 "User.3" user)
(45 "User.4" user)
)
(net 0 "")
(gr_curve
(pts
(xy 0 0) (xy 5.38 -5.24) (xy 5.43 -5.16) (xy 5.38 -5.24)
)
(stroke (width 0.2) (type default))
(layer "F.Cu")
(uuid "1be1d11f-044a-4e57-94ac-374399c4ae92")
)
)
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 9.0.6, release build
Libraries: wxWidgets 3.2.8 FreeType 2.14.1 HarfBuzz 11.4.5 FontConfig 2.17.1 libcurl/8.15.0 OpenSSL/3.5.4 zlib/1.3.1 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 nghttp2/1.66.0
Platform: Freedesktop SDK 25.08 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, KDE, x11 OpenGL: AMD, AMD Radeon Graphics (radeonsi, rembrandt, LLVM 21.1.5, DRM 3.57, 6.8.0-85-generic), 4.6 (Compatibility Profile) Mesa 25.2.6 (git-3f12436d80)
Build Info: Date: Nov 11 2011 11:11:11 wxWidgets: 3.2.8 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.89.0 OCC: 7.9.2 Curl: 8.15.0 ngspice: 45.2 Compiler: GCC 15.2.0 with C++ ABI 1020 KICAD_IPC_API=ON
Locale: Lang: en_US Enc: UTF-8 Num: 1.234,5 Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)