teardrop_dialog.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:kicad_scripts 作者: NilujePerchut 项目源码 文件源码
def onProcessAction(self, event):
        """Executes the requested action"""
        if self.rbx_action.GetSelection() == 0:
            count = SetTeardrops(self.sp_hpercent.GetValue(),
                                 self.sp_vpercent.GetValue(),
                                 self.sp_nbseg.GetValue(),
                                 self.board)
            wx.MessageBox("{0} Teardrops inserted".format(count))
        else:
            count = RmTeardrops(pcb=self.board)
            wx.MessageBox("{0} Teardrops removed".format(count))
        self.Destroy()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号