From b773a47cd0723513af73ef55bc987aca22f0b58c Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Wed, 14 Dec 2016 17:28:10 +0100 Subject: [PATCH] first fix of digue tests --- doc/salome/examples/h012_caseDigueManual.py | 8 ++------ doc/salome/examples/h013_caseDigueManualMesh.py | 10 +++------- doc/salome/examples/h014_caseDigueManualInterpolZ.py | 10 +++------- 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/doc/salome/examples/h012_caseDigueManual.py b/doc/salome/examples/h012_caseDigueManual.py index b4d120dc..372767d4 100644 --- a/doc/salome/examples/h012_caseDigueManual.py +++ b/doc/salome/examples/h012_caseDigueManual.py @@ -395,12 +395,8 @@ geompy.addToStudyInFather( HYDRO_garonne_2, digue, 'digue' ) geompy.addToStudyInFather( HYDRO_garonne_2, litMineur, 'litMineur' ) geompy.addToStudyInFather( HYDRO_garonne_2, riveDroite, 'riveDroite' ) -#controlGeomProps(geompy, riveGauche, 39489.5116033, 35889668.8348) -#controlGeomProps(geompy, digue, 10340.1424233, 102887.6201) -#controlGeomProps(geompy, litMineur, 30337.5484919, 3646827.74981) -#controlGeomProps(geompy, riveDroite, 32012.3432411, 26177085.4601) -controlGeomProps(geompy, riveGauche, 39493.270283, 35845790.613557) -controlGeomProps(geompy, digue, 10340.1424233, 102887.6201) +controlGeomProps(geompy, riveGauche, 39490.835288, 35845737.590926) +controlGeomProps(geompy, digue, 10341.466108, 103090.760662) controlGeomProps(geompy, litMineur, 30337.548492, 3488480.304388) controlGeomProps(geompy, riveDroite, 32012.343241, 25998769.23615) diff --git a/doc/salome/examples/h013_caseDigueManualMesh.py b/doc/salome/examples/h013_caseDigueManualMesh.py index c19c290c..6e005cbf 100644 --- a/doc/salome/examples/h013_caseDigueManualMesh.py +++ b/doc/salome/examples/h013_caseDigueManualMesh.py @@ -400,7 +400,7 @@ geompy.UnionIDs(SectionsGaronne, [4, 11]) geompy.addToStudyInFather( HYDRO_garonne_2, SectionsGaronne, 'SectionsGaronne' ) SectionsDigue = geompy.CreateGroup(HYDRO_garonne_2, geompy.ShapeType["EDGE"]) -geompy.UnionIDs(SectionsDigue, [46, 50]) +geompy.UnionIDs(SectionsDigue, [43, 48]) geompy.addToStudyInFather( HYDRO_garonne_2, SectionsDigue, 'SectionsDigue' ) # --- recreate subshapes already exported from HYDRO to get access from Python @@ -417,12 +417,8 @@ geompy.addToStudyInFather( HYDRO_garonne_2, SectionsDigue, 'SectionsDigue' ) #garonne_2_digue_Right_Bank = geompy.CreateGroup(HYDRO_garonne_2, geompy.ShapeType["EDGE"]) #geompy.UnionIDs(garonne_2_digue_Right_Bank, [48]) -#controlGeomProps(geompy, riveGauche, 39489.5116033, 35889668.8348) -#controlGeomProps(geompy, digue, 10340.1424233, 102887.6201) -#controlGeomProps(geompy, litMineur, 30337.5484919, 3646827.74981) -#controlGeomProps(geompy, riveDroite, 32012.3432411, 26177085.4601) -controlGeomProps(geompy, riveGauche, 39493.270283, 35845790.613557) -controlGeomProps(geompy, digue, 10340.1424233, 102887.6201) +controlGeomProps(geompy, riveGauche, 39490.835288, 35845737.590926) +controlGeomProps(geompy, digue, 10341.466108, 103090.760662) controlGeomProps(geompy, litMineur, 30337.548492, 3488480.304388) controlGeomProps(geompy, riveDroite, 32012.343241, 25998769.23615) diff --git a/doc/salome/examples/h014_caseDigueManualInterpolZ.py b/doc/salome/examples/h014_caseDigueManualInterpolZ.py index c5782efd..ce536cfe 100644 --- a/doc/salome/examples/h014_caseDigueManualInterpolZ.py +++ b/doc/salome/examples/h014_caseDigueManualInterpolZ.py @@ -400,7 +400,7 @@ geompy.UnionIDs(SectionsGaronne, [4, 11]) geompy.addToStudyInFather( HYDRO_garonne_2, SectionsGaronne, 'SectionsGaronne' ) SectionsDigue = geompy.CreateGroup(HYDRO_garonne_2, geompy.ShapeType["EDGE"]) -geompy.UnionIDs(SectionsDigue, [46, 50]) +geompy.UnionIDs(SectionsDigue, [43, 48]) geompy.addToStudyInFather( HYDRO_garonne_2, SectionsDigue, 'SectionsDigue' ) # --- recreate subshapes already exported from HYDRO to get access from Python @@ -417,12 +417,8 @@ geompy.addToStudyInFather( HYDRO_garonne_2, SectionsDigue, 'SectionsDigue' ) #garonne_2_digue_Right_Bank = geompy.CreateGroup(HYDRO_garonne_2, geompy.ShapeType["EDGE"]) #geompy.UnionIDs(garonne_2_digue_Right_Bank, [48]) -#controlGeomProps(geompy, riveGauche, 39489.5116033, 35889668.8348) -#controlGeomProps(geompy, digue, 10340.1424233, 102887.6201) -#controlGeomProps(geompy, litMineur, 30337.5484919, 3646827.74981) -#controlGeomProps(geompy, riveDroite, 32012.3432411, 26177085.4601) -controlGeomProps(geompy, riveGauche, 39493.270283, 35845790.613557) -controlGeomProps(geompy, digue, 10340.1424233, 102887.6201) +controlGeomProps(geompy, riveGauche, 39490.835288, 35845737.590926) +controlGeomProps(geompy, digue, 10341.466108, 103090.760662) controlGeomProps(geompy, litMineur, 30337.548492, 3488480.304388) controlGeomProps(geompy, riveDroite, 32012.343241, 25998769.23615) -- 2.39.2