[Pcbnew] Mannually delete the edge. Cuts after adding Edge.cuts by using the python plug-in, and the edgewill be displayed again.
Description
Mannually delete the edge. Cuts after adding Edge.cuts by using the python plug-in,and the border will be displayed again, but the kicad_pcb file does not contain the text about the edgecuts above, and I can use the python console to exec pcbnew.Refresh() to fix that wrong edgecuts elements.
Steps to reproduce
- use a python plugin to add edgecuts,for example,https://github.com/reilly-callaway/Ki-Fillet . Not only this plugin, every python script that contains text like
arc = pcbnew.PCB_SHAPE(board)
arc.SetShape(pcbnew.S_ARC)
arc.SetLayer(pcbnew.Edge_Cuts)
arc.SetCenter(centre)
arc.SetStart(start)
arc.SetEnd(end)
will cause that bug.
- delete the edgecuts and wait for a while, you can see the edgecuts that just deleted is shown again,you can choose it and move it but you can not delete it because it is not actually exists.
KiCad Version
Application: KiCad (64-bit)
Version: (6.0.7), release build
Libraries:
wxWidgets 3.1.7
Platform: Windows 11 (build 25179), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.1.7 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Seth Hillbrand