]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message *** V5_1_3_beta1
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 15 Dec 2009 14:10:36 +0000 (14:10 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 15 Dec 2009 14:10:36 +0000 (14:10 +0000)
src/EFICASGUI/eficasSalome.py
src/TestsEltsVisu/Barres/barrerectanglecreuse.comm
src/TestsEltsVisu/Coques/coqueexcangle.comm
src/TestsEltsVisu/Poutres/pcarreconstcreuse.comm
src/TestsEltsVisu/Poutres/pcarrehomocreuse.comm
src/TestsEltsVisu/Poutres/pcarrehomopleine.comm
src/TestsEltsVisu/Poutres/pcercleconstcreuse.comm
src/TestsEltsVisu/Poutres/pcerclehomocreuse.comm
src/TestsEltsVisu/Poutres/prectaffcreuse.comm
src/TestsEltsVisu/Poutres/prectconstcreuse.comm
src/TestsEltsVisu/Poutres/precthomopleine.comm

index 9ee8627f7a14d24a42d26763cc3e6fa70a74e377..9a6d4833c03d2a6193e45ec633da85b94bde4cae 100644 (file)
@@ -122,11 +122,11 @@ class MyEficas( qtEficas.Appli ):
        import SMESH
        try:
          monObjet =self.getCORBAObjectInComponent(entry,"SMESH") 
-         print monObjet
+         #print monObjet
          if monObjet != None :                                    # selection d'un groupe de SMESH
             if  monObjet._narrow(SMESH.SMESH_GroupBase):
                 result = True 
-         print result
+         #print result
        except :
          logger.debug(' isMeshGroup pb avec ( entry = %s ) ' %entry )          
        return result
@@ -181,7 +181,7 @@ class MyEficas( qtEficas.Appli ):
     #-----------------------------------------------------------------
         tgeo =  shape.GetShapeType() 
         geomEngine = salome.lcc.FindOrLoadComponent( "FactoryServer", "GEOM" )
-        print dir(self.editor.study)
+        #print dir(self.editor.study)
         groupIMeasureOp = geomEngine.GetIMeasureOperations(self.editor.study._get_StudyId())
         if tgeo != "COMPOUND" : return tgeo
 
@@ -233,7 +233,7 @@ class MyEficas( qtEficas.Appli ):
 
         mainShapeEntry = self.getMainShapeEntry( entry )
         if self.mainShapeNames.has_key( editor ):
-          print "------------- self.mainShapeNames[editor]" , self.mainShapeNames[editor]
+          #print "------------- self.mainShapeNames[editor]" , self.mainShapeNames[editor]
           if self.mainShapeNames[editor] == mainShapeEntry:
              name=mySO.GetName()
           else :
@@ -294,9 +294,9 @@ class MyEficas( qtEficas.Appli ):
              return name, "Type d objet non permis"    
 
         # on cherche si la shape associee est la bonne
-        print "------------- mainShapeID" , mainShapeID
+        #print "------------- mainShapeID" , mainShapeID
         if self.mainShapeNames.has_key( editor ):
-          print "------------- self.mainShapeNames[editor]" , self.mainShapeNames[editor]
+          #print "------------- self.mainShapeNames[editor]" , self.mainShapeNames[editor]
           if self.mainShapeNames[editor] == mainShapeID:
              name=mySO.GetName()
           else :
@@ -305,9 +305,9 @@ class MyEficas( qtEficas.Appli ):
           self.mainShapeNames[editor] = mainShapeID
           name=mySO.GetName()
 
-        print "------------------------------ name :", name
-        print "------------------------------ name :", name
-        print "------------------------------ name :", name
+        #print "------------------------------ name :", name
+        #print "------------------------------ name :", name
+        #print "------------------------------ name :", name
         return name,msgError
 
 
@@ -325,8 +325,8 @@ class MyEficas( qtEficas.Appli ):
             
             # liste des groupes de maille de nom meshGroupName
             listSO = self.editor.study.FindObjectByName(meshGroupName, "SMESH")
-            print listSO
-            print "liste des groupes de maille de nom %s: "%(meshGroupName), listSO
+            #print listSO
+            #print "liste des groupes de maille de nom %s: "%(meshGroupName), listSO
             
             if len(listSO)>1:
                return 0,'Plusieurs objets  portent ce nom'
@@ -384,9 +384,9 @@ class MyEficas( qtEficas.Appli ):
                         
         except:            
             logger.debug("selectGroupFromSalome: An error occurs")
-        print "=================== selectGroupFromSalome ", names, msg
-        print "=================== selectGroupFromSalome ", names, msg
-        print "=================== selectGroupFromSalome ", names, msg
+        #print "=================== selectGroupFromSalome ", names, msg
+        #print "=================== selectGroupFromSalome ", names, msg
+        #print "=================== selectGroupFromSalome ", names, msg
         return names, msg                
         
     #---------------------------------------------
@@ -440,7 +440,7 @@ class MyEficas( qtEficas.Appli ):
 
             salome.sg.updateObjBrowser(1)
 
-            print 'addJdcInSalome commEntry->', commEntry            
+            #print 'addJdcInSalome commEntry->', commEntry            
             if commEntry:
                 ok, msgError = True, ''        
         #except:                    
@@ -462,7 +462,7 @@ class MyEficas( qtEficas.Appli ):
             visu_gui.myVisu.SetCurrentStudy(self.editor.study)
             m = visu_gui.myVisu.GetViewManager()
             v = m.GetCurrentView()
-            print v
+            #print v
             if v:
                 currentViewType = v.GetType()
             atLeastOneStudy = self.editor.study
@@ -470,11 +470,11 @@ class MyEficas( qtEficas.Appli ):
                 return ok, msgError
                                      
             #salome.sg.EraseAll()
-            print 'displayShapestrGeomShape shapeName -> ', shapeName
-            print currentViewType
+            #print 'displayShapestrGeomShape shapeName -> ', shapeName
+            #print currentViewType
             
             if currentViewType == VISU.TVIEW3D: # maillage
-                print 'Vue courante = VTK : affichage groupe de maille'                
+                #print 'Vue courante = VTK : affichage groupe de maille'                
                 ok, msgError = self.displayMeshGroups(shapeName)
             else: #geometrie
                 current_color = COLORS[ self.icolor % LEN_COLORS ]                
index a2f3c44da65d4bcba2e25148e71e8589a577d705..1579cb517df49409b710ef3c718ed22b8e7f3947 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -15,6 +14,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                     BARRE=_F(GROUP_MA='element1D',
                              SECTION='RECTANGLE',
                              CARA=('HZ','HY','EPY','EPZ',),
-                             VALE=(3.0,4.0,1.0,2.0,),),);
+                             VALE=(3.0,4.0,1.0,0.5,),),);
 
 FIN();
index c5a0f5daf719519b7054d95bf2252a6a9e33f752..467ece42ea3dc63dd70d3e944a797867ca7fc075 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -13,9 +12,9 @@ P1 = 3;
 
 Affe=AFFE_CARA_ELEM(MODELE=modele,
                     COQUE=_F(GROUP_MA='element2D',
-                             EPAIS=3.0,
-                             ANGL_REP=(0.0,90.0,),
-                             EXCENTREMENT=-0.3,
+                             EPAIS=10,
+                             ANGL_REP=(0.,90.0,),
+                             EXCENTREMENT=30,
                              INER_ROTA='OUI',),);
 
 FIN();
index 3c231407ee4ca1d178c5e29e5f950ef11739a9d0..31fa7f6380ece8b6feabc1cef72675c4021a981b 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -15,6 +14,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                     POUTRE=_F(GROUP_MA='element1D',
                               SECTION='RECTANGLE',
                               CARA=('H','EP',),
-                              VALE=(3.0,2.0,),),);
+                              VALE=(3.0,1,),),);
 
 FIN();
index 5ea84cd3ba88fb4ed47433167c3bf4050c3738a9..3e3888701f0113cfb1bb3400e004a50e03d11f6c 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -16,6 +15,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                               SECTION='RECTANGLE',
                               VARI_SECT='HOMOTHETIQUE',
                               CARA=('HY1','EPY1','HZ1','EPZ1','HZ2','EPZ2','HY2','EPY2',),
-                              VALE=(0.1,0.05,0.1,0.05,0.1,0.05,0.1,0.05,),),);
+                              VALE=(0.1,0.04,0.1,0.04,0.1,0.04,3,1,),),);
 
 FIN();
index 08c9ced27464267803b6ca0a2f8bd3cbab957072..6be46ea346720a4d2060f0a1c626d13879478203 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -15,7 +14,7 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                     POUTRE=_F(GROUP_MA='element1D',
                               SECTION='RECTANGLE',
                               VARI_SECT='HOMOTHETIQUE',
-                              CARA=('HY1','HZ1','HZ2','EPZ2','HY2','EPY2',),
-                              VALE=(0.1,0.1,0.1,0.,0.1,0.,),),);
+                              CARA=('HY1','HZ1','HZ2','HY2',),
+                              VALE=(2,3,0.2,0.3,),),);
 
 FIN();
index f157d31568c00dce93d3ee92ec6bc0b956d237fd..6ee0510a9d0fb82ef8b7fa573678b2bec9098a46 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -15,6 +14,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                     POUTRE=_F(GROUP_MA='element1D',
                               SECTION='CERCLE',
                               CARA=('R','EP',),
-                              VALE=(2.0,1.0,),),);
+                              VALE=(2.0,0.5,),),);
 
 FIN();
index 7a2f98f019841fd9b6f3a53f7bffb04948cd425f..74ac52790fc0e673872b496cbe9a4487cb1adb36 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -16,6 +15,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                               SECTION='CERCLE',
                               VARI_SECT='HOMOTHETIQUE',
                               CARA=('R1','R2','EP1','EP2',),
-                              VALE=(3.0,5.0,2.0,3.0,),),);
+                              VALE=(3.0,15.0,1,0.1,),),);
 
 FIN();
index 7b01a3abcc5ee45d411a8ac2e8f8cbf67bec3e42..cf3c250b9adee5d99ce1ba9a0c3e7b9fa9e891ae 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -16,6 +15,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                               SECTION='RECTANGLE',
                               VARI_SECT='AFFINE',
                               CARA=('HY','HZ1','HZ2','EPY','EPZ1','EPZ2',),
-                              VALE=(0.1,0.1,0.2,0.05,0.05,0.07,),),);
+                              VALE=(1,2,4,0.4,0.8,1.8,),),);
 
 FIN();
index 774af13b76aa5eea13fc6adbee7630350462fc47..d6df1f1911dc89d0d16355a3ee84a06423e1662b 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -15,6 +14,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                     POUTRE=_F(GROUP_MA='element1D',
                               SECTION='RECTANGLE',
                               CARA=('HY','HZ','EPY','EPZ',),
-                              VALE=(3.0,4.0,2.0,2.0,),),);
+                              VALE=(3.0,4.0,1,1,),),);
 
 FIN();
index 57a890e29fc39ed3024368c0ad107aa20426a527..7a27b76b512c964c9e9e16c665f16e9487e9d8c5 100644 (file)
@@ -1,5 +1,4 @@
 
-
 DEBUT();
 
 maillage=LIRE_MAILLAGE();
@@ -16,6 +15,6 @@ Affe=AFFE_CARA_ELEM(MODELE=modele,
                               SECTION='RECTANGLE',
                               VARI_SECT='HOMOTHETIQUE',
                               CARA=('HY1','HZ1','HZ2','HY2',),
-                              VALE=(0.1,0.2,0.1,0.2,),),);
+                              VALE=(0.1,0.2,1,2,),),);
 
 FIN();