Skip to content

Instantly share code, notes, and snippets.

@idt12312
Created May 18, 2017 11:44
Show Gist options
  • Save idt12312/70359c673eb9279221ca6877903e6ac7 to your computer and use it in GitHub Desktop.
Save idt12312/70359c673eb9279221ca6877903e6ac7 to your computer and use it in GitHub Desktop.
#R1を90度回転する
r1.SetOrientation(90*10)
#R1を(100mm, 100mm)に移動する
r1.SetPosition(pcbnew.wxPointMM(100,100))
#R1を現在位置から(50mm, 0mm)だけ移動する
r1.Move(pcbnew.wxPointMM(50,0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment