Hi, I am trying to build my first pcbnew script in python. I couldn’t find much information about the pcbnew api. I found the doxygen with the classes, attributes, and methods which is good. But it gives me the same output information that ipython. So, since the documentation is not that good, my question is:
Which method do I use to get which face (top/bottom) the part is placed, and how do I set it to a specific side?
My board has 4 copper layers and many other non-metallic layers. So, which one should I use to move the part?
I saw form the .kicad_pcb that the F.cu and B.cu are layers 0 and 31 respectively. But this does not make the parts to move to the top and bottom face.
I actually figured out digging into the code that the methods I need are:
Flip(pos)
IsFlipped()
I tested them and it looks like it is working fine.