From: Paul RASCLE Date: Tue, 28 Mar 2017 06:37:42 +0000 (+0200) Subject: mise à jour tutoriel sur cas h009 à poursuivre (HYDRO exporte les faces=régions) X-Git-Tag: Salome_8_3_Hydro_1_1rc1~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8fd31480a278a83b8013c7b9bd81a55c2d1c6547;p=modules%2Fhydro.git mise à jour tutoriel sur cas h009 à poursuivre (HYDRO exporte les faces=régions) --- diff --git a/doc/salome/examples/h009_normalCaseManual.py b/doc/salome/examples/h009_normalCaseManual.py index aefe53ed..3650dd8c 100644 --- a/doc/salome/examples/h009_normalCaseManual.py +++ b/doc/salome/examples/h009_normalCaseManual.py @@ -328,22 +328,8 @@ print "Geom shape:", HYDRO_garonne_1 print "Geom shape name:", HYDRO_garonne_1.GetName() [riveGauche,litMineur,riveDroite] = geompy.ExtractShapes(HYDRO_garonne_1, geompy.ShapeType["FACE"], True) -# --- groups already created at HYDRO export -#garonne_1_lit_mineur_Outer = geompy.CreateGroup(HYDRO_garonne_1, geompy.ShapeType["EDGE"]) -#geompy.UnionIDs(garonne_1_lit_mineur_Outer, [7, 4, 11]) -#garonne_1_domaineEtendu_Outer = geompy.CreateGroup(HYDRO_garonne_1, geompy.ShapeType["EDGE"]) -#geompy.UnionIDs(garonne_1_domaineEtendu_Outer, [13, 9, 25, 16, 19, 21, 23, 27, 28, 31, 33, 41, 39, 37, 35]) -# --- publication already done at HYDRO export -#geompy.addToStudy( HYDRO_garonne_1, 'HYDRO_garonne_1' ) -#geompy.addToStudyInFather( HYDRO_garonne_1, garonne_1_lit_mineur_Outer, 'garonne_1_lit_mineur_Outer' ) -#geompy.addToStudyInFather( HYDRO_garonne_1, garonne_1_domaineEtendu_Outer, 'garonne_1_domaineEtendu_Outer' ) -geompy.addToStudyInFather( HYDRO_garonne_1, riveGauche, 'riveGauche' ) -geompy.addToStudyInFather( HYDRO_garonne_1, litMineur, 'litMineur' ) -geompy.addToStudyInFather( HYDRO_garonne_1, riveDroite, 'riveDroite' ) controlGeomProps(geompy, riveGauche, 29149.36918, 35948828.352061) -#controlGeomProps(geompy, litMineur, 30337.5484919, 3263628.55399) -#controlGeomProps(geompy, riveDroite, 32012.3432411, 26177085.4601) controlGeomProps(geompy, litMineur, 30337.548492, 3488480.304388) controlGeomProps(geompy, riveDroite, 32012.343241, 25998769.23615) diff --git a/doc/salome/tutorial/_static/activeGeom.png b/doc/salome/tutorial/_static/activeGeom.png index 11c8a327..f3de121f 100644 Binary files a/doc/salome/tutorial/_static/activeGeom.png and b/doc/salome/tutorial/_static/activeGeom.png differ