]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PR: correction due to refactoring
authorprascle <prascle>
Wed, 17 Apr 2013 20:33:51 +0000 (20:33 +0000)
committerprascle <prascle>
Wed, 17 Apr 2013 20:33:51 +0000 (20:33 +0000)
src/SMESH_SWIG/StdMeshersBuilder.py

index e2f1d5f4666e6b6481916e839098acdc25e4af03..ee05f82efc585e1e6702342549174a57de2e734d 100644 (file)
@@ -861,9 +861,9 @@ class StdMeshersBuilder_Prism3D(Mesh_Algorithm):
         shape = geom
         if not shape:
             shape = mesh.geom
-        from geompy import SubShapeAll, ShapeType
-        nbSolids = len( SubShapeAll( shape, ShapeType["SOLID"] ))
-        nbShells = len( SubShapeAll( shape, ShapeType["SHELL"] ))
+        from salome.geom import geomBuilder
+        nbSolids = len( geomBuilder.geom.SubShapeAll( shape, geomBuilder.geomBuilder.ShapeType["SOLID"] ))
+        nbShells = len( geomBuilder.geom.SubShapeAll( shape, geomBuilder.geomBuilder.ShapeType["SHELL"] ))
         if nbSolids == 0 or nbSolids == nbShells:
             self.Create(mesh, geom, "Prism_3D")
             pass