kicad_mod1 = pcbnew.Footprint(name1)
kicad_mod1.setDescription(name1)
kicad_mod1.SetReference(‘main’)
kicad_mod2 = pcbnew.Footprint(name)
kicad_mod2.setDescription(name)
kicad_mod2.SetReference(‘OtherMod’)
kicad_mod1.append(kicad_mod2)
and how to rotate kicad_mod2?
I am using Application: (64-bit)
Version: (6.0.9), release build
Libraries:
wxWidgets 3.2.1
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 18363), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Oct 29 2022 23:44:28
wxWidgets: 3.2.1 (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