def OnClick(self,event):
            self.Close()
            
            a=float(self.editname1.GetValue())
            b=float(self.editname2.GetValue())
            c=float(self.editname3.GetValue())
           
            beta=float(self.editname5.GetValue())
            
            
            p=float(self.editname7.GetValue())
            p=p/100.0
            l=int(self.editname8.GetValue())
            w=int(self.editname9.GetValue())
            h=int(self.editname10.GetValue())
            if(self.str1=='primitive'):
                tricliniccorrect.main(a,b,c,90,beta,90,l,w,h,p)
            if(self.str1=='end centered'):
                fmonoclinicec.main(a,b,c,90,90,beta,l,w,h,p)
            

            
            
                
            return
Exemple #2
0
    def OnClick(self,event):
            self.Close()
            
            a=float(self.editname1.GetValue())
           
            alpha=float(self.editname4.GetValue())
            
            
            p=float(self.editname7.GetValue())
            p=p/100.0
            l=int(self.editname8.GetValue())
            w=int(self.editname9.GetValue())
            h=int(self.editname10.GetValue())
            
            tricliniccorrect.main(a,a,a,alpha,alpha,alpha,l,w,h,p)
            

            
            
                
            return
Exemple #3
0
    def OnClick(self,event):
            self.Close()
            
            a=float(self.editname1.GetValue())
            b=float(self.editname2.GetValue())
            c=float(self.editname3.GetValue())
            alpha=float(self.editname4.GetValue())
            beta=float(self.editname5.GetValue())
            gamma=float(self.editname6.GetValue())
            
            p=float(self.editname7.GetValue())
            p=p/100.0
            l=int(self.editname8.GetValue())
            w=int(self.editname9.GetValue())
            h=int(self.editname10.GetValue())
            
            tricliniccorrect.main(a,b,c,alpha,beta,gamma,l,w,h,p)
            

            
            
                
            return