]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
NRI : Use GEOM instead of Geometry.
authornri <nri@opencascade.com>
Tue, 20 May 2003 07:18:29 +0000 (07:18 +0000)
committernri <nri@opencascade.com>
Tue, 20 May 2003 07:18:29 +0000 (07:18 +0000)
src/SMESHGUI/SMESHGUI.cxx
src/SMESH_I/SMESH_Gen_i.cxx
src/SMESH_I/SMESH_test.py
src/SMESH_I/smeshpy.py
src/SMESH_SWIG/SMESH_fixation.py
src/SMESH_SWIG/SMESH_mechanic.py
src/SMESH_SWIG/SMESH_test0.py
src/SMESH_SWIG/SMESH_test1.py
src/SMESH_SWIG/SMESH_test3.py

index 72e66bf009c79e83d6b252ff57f56de0e6c6c4dc..46c064580579c7fdf66da32cce4db091b0b70618 100644 (file)
@@ -215,7 +215,7 @@ SMESHGUI* SMESHGUI::GetOrCreateSMESHGUI( QAD_Desktop* desktop )
     Engines::Component_var comp = desktop->getEngine("FactoryServer", "SMESH");
     smeshGUI->myComponentMesh = SMESH::SMESH_Gen::_narrow(comp);
     
-    Engines::Component_var comp1 = desktop->getEngine("FactoryServer", "Geometry");    
+    Engines::Component_var comp1 = desktop->getEngine("FactoryServer", "GEOM");    
     smeshGUI->myComponentGeom = GEOM::GEOM_Gen::_narrow(comp1);
       
     /* GetCurrentStudy */
index 113b80eb0ac398e6f3d89a10108b10e38fd1a4bc..aeed1e4b8c35db49388fa076d59d63fbc6a791ac 100644 (file)
@@ -877,7 +877,7 @@ bool SMESH_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
   _NS->init_orb( _orb ) ;
   SALOME_LifeCycleCORBA* myEnginesLifeCycle = new SALOME_LifeCycleCORBA(_NS);
   Engines::Component_var geomEngine =
-    myEnginesLifeCycle->FindOrLoad_Component("FactoryServer","Geometry");
+    myEnginesLifeCycle->FindOrLoad_Component("FactoryServer","GEOM");
   GEOM::GEOM_Gen_var myGeomEngine = GEOM::GEOM_Gen::_narrow(geomEngine);
 
 
index 4129057670caab6b9fcc150dee27125eba082445..a2bdc2da94fc3ef57ebb0cce03ef55e1fa67b672 100644 (file)
@@ -9,7 +9,7 @@ import math
 
 import geompy
 
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 myBuilder = salome.myStudy.NewBuilder()
 from geompy import gg
 
index 986ffca7dccb041c7e0076abcf70b1faa0addeb7..26585e8b0526168176006bdfb338372c5634084e 100644 (file)
@@ -15,7 +15,7 @@ class smeshpy:
 
     def __init__(self):
         try:
-            self._geom = salome.lcc.FindOrLoadComponent("FactoryServer","Geometry")
+            self._geom = salome.lcc.FindOrLoadComponent("FactoryServer","GEOM")
             self._smesh = salome.lcc.FindOrLoadComponent("FactoryServer","SMESH")
         except:
             MESSAGE( "exception in smeshpy:__init__" )
@@ -59,7 +59,7 @@ class smeshpy:
 ##def SmeshInit(shapeId):
 ##    import salome
 ##    import SMESH
-##    geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+##    geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 ##    smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
 ##    shape = salome.IDToObject(shapeId)
 ##    studyId = salome.myStudyId
index 2864e93b204dff039a22d033c4b6c6a157cedc44..5d5b71cfbf0202ce284a58b3b35b1bb29f7b9638 100644 (file)
@@ -60,7 +60,7 @@ def MakeCompound(lstShells) :
 
 # -----------------------------------------------------------------------------
 
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 myBuilder = salome.myStudy.NewBuilder()
 
 ShapeTypeCompSolid = 1
index c7ed695c75e0ebd22ebd3d977f5c1946b6bcdd44..7d695d7a36f5c0ef6d5cd238fbd01e80806888c4 100644 (file)
@@ -19,7 +19,7 @@ import geompy
 
 
 # ---------------------------- GEOM --------------------------------------
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 myBuilder = salome.myStudy.NewBuilder()
 #from geompy import gg
 
index efa887ea2febf79fe205b1007a521a99bf2d6a4e..c5de8b950cec59b308e15aeb3580ecf597e393d2 100644 (file)
@@ -7,7 +7,7 @@ import math
 
 import geompy
 
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 myBuilder = salome.myStudy.NewBuilder()
 from geompy import gg
 
index d36f7bec4f2542cd328683baa62d63a0293c3fc0..fa05215e90d6102848470534199728e33806731a 100644 (file)
@@ -7,7 +7,7 @@ import math
 
 import geompy
 
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 myBuilder = salome.myStudy.NewBuilder()
 from geompy import gg
 
index f2267a1125c0832d27b3f4e407d2cec3057602ab..6d2b10b66615cfb090f5242f71c9833750023084 100644 (file)
@@ -7,7 +7,7 @@ import math
 
 import geompy
 
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 myBuilder = salome.myStudy.NewBuilder()
 from geompy import gg