Files
kicad-source-mirror/pcbnew/python/swig/pcb_shape.i
T
Seth Hillbrand adf885b667 Move pcbnew swig
Separates the python scripts into those using swig and those needed for
other scripting
2021-06-01 20:18:24 +00:00

15 lines
178 B
OpenEdge ABL

%include pcb_shape.h
%extend PCB_SHAPE
{
%pythoncode
%{
def GetShapeStr(self):
return self.ShowShape(self.GetShape())
%}
}
%{
#include <pcb_shape.h>
%}