]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Integrate a patch by Paul RASCLE for V3.2.0b1.
authorjfa <jfa@opencascade.com>
Tue, 18 Apr 2006 12:35:07 +0000 (12:35 +0000)
committerjfa <jfa@opencascade.com>
Tue, 18 Apr 2006 12:35:07 +0000 (12:35 +0000)
src/GEOM_SWIG/GEOM_tube_geom_gg2.py
src/GEOM_SWIG/geompy.py

index 29f77815f02301f0e214356481f552ae1257f068..9d7ddbcb5be2832d622badb67915d763a26696e6 100755 (executable)
@@ -142,6 +142,9 @@ assemblageId = addToStudy(assemblage, "assemblage")
 #\r
 # Display\r
 #\r
+gg = ImportComponentGUI("GEOM")\r
+gg.initGeomGen()\r
+\r
 gg.createAndDisplayGO(baseId)\r
 gg.setTransparency(baseId,0.5)\r
 gg.setDisplayMode(baseId,1)\r
@@ -154,4 +157,3 @@ gg.createAndDisplayGO(weldId)
 gg.setTransparency(weldId,0.5)\r
 gg.setDisplayMode(weldId,1)\r
 gg.setColor(weldId,0,0,255)\r
-\r
index e34d3163e37efbb2aa23208135cddd4ab4bd61db..e5d3382e2a429629d4de9cbe0d29fc518f3cfde0 100644 (file)
@@ -36,8 +36,8 @@ import GEOM
 
 g = lcc.FindOrLoadComponent("FactoryServer", "GEOM")
 geom = g._narrow( GEOM.GEOM_Gen )
-gg = ImportComponentGUI("GEOM")
-gg.initGeomGen()
+#gg = ImportComponentGUI("GEOM")
+#gg.initGeomGen()
 
 #SRN: modified on Mar 18, 2005