From 891fcd3d5480b022cf9e41bdc25f6054e98a65f8 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 18 Apr 2006 12:35:07 +0000 Subject: [PATCH] Integrate a patch by Paul RASCLE for V3.2.0b1. --- src/GEOM_SWIG/GEOM_tube_geom_gg2.py | 4 +++- src/GEOM_SWIG/geompy.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/GEOM_SWIG/GEOM_tube_geom_gg2.py b/src/GEOM_SWIG/GEOM_tube_geom_gg2.py index 29f77815f..9d7ddbcb5 100755 --- a/src/GEOM_SWIG/GEOM_tube_geom_gg2.py +++ b/src/GEOM_SWIG/GEOM_tube_geom_gg2.py @@ -142,6 +142,9 @@ assemblageId = addToStudy(assemblage, "assemblage") # # Display # +gg = ImportComponentGUI("GEOM") +gg.initGeomGen() + gg.createAndDisplayGO(baseId) gg.setTransparency(baseId,0.5) gg.setDisplayMode(baseId,1) @@ -154,4 +157,3 @@ gg.createAndDisplayGO(weldId) gg.setTransparency(weldId,0.5) gg.setDisplayMode(weldId,1) gg.setColor(weldId,0,0,255) - diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py index e34d3163e..e5d3382e2 100644 --- a/src/GEOM_SWIG/geompy.py +++ b/src/GEOM_SWIG/geompy.py @@ -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 -- 2.39.2