예제 #1
0
    def OnClick(self,event):
            self.Close()
            
            a=int(self.editname1.GetValue())
           
            alpha=int(self.editname4.GetValue())
            
            
            
            l=int(self.editname8.GetValue())
            w=int(self.editname9.GetValue())
            h=int(self.editname10.GetValue())
            
            planesmonoclinic.main(a,a,a,alpha,alpha,alpha,l,w,h)
            

            
            
                
            return
예제 #2
0
    def OnClick(self,event):
            self.Close()
            
            a=int(self.editname1.GetValue())
            b=int(self.editname2.GetValue())
            c=int(self.editname3.GetValue())
            alpha=int(self.editname4.GetValue())
            beta=int(self.editname5.GetValue())
            gamma=int(self.editname6.GetValue())
            
            
            h=int(self.editname8.GetValue())
            k=int(self.editname9.GetValue())
            l=int(self.editname10.GetValue())
            
            planesmonoclinic.main(a,b,c,alpha,beta,gamma,h,k,l)
            

            
            
                
            return