riveDroite = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["FACE"])
geompy.UnionIDs(riveDroite, [2])
riveGauche = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["FACE"])
-geompy.UnionIDs(riveGauche, [29])
+geompy.UnionIDs(riveGauche, [33])
litMineur_aval = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["FACE"])
-geompy.UnionIDs(litMineur_aval, [22])
+geompy.UnionIDs(litMineur_aval, [26])
litMineur_pont = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["FACE"])
-geompy.UnionIDs(litMineur_pont, [42])
+geompy.UnionIDs(litMineur_pont, [50])
litMineur_amont = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["FACE"])
-geompy.UnionIDs(litMineur_amont, [81])
+geompy.UnionIDs(litMineur_amont, [89])
sections = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["EDGE"])
-geompy.UnionIDs(sections, [24, 28, 44, 83])
+geompy.UnionIDs(sections, [28, 32, 52, 91])
amont = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["EDGE"])
-geompy.UnionIDs(amont, [83])
+geompy.UnionIDs(amont, [91])
aval = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["EDGE"])
geompy.UnionIDs(aval, [28])
bordDroit = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["EDGE"])
-geompy.UnionIDs(bordDroit, [4, 7, 9, 11, 19, 21])
+geompy.UnionIDs(bordDroit, [4, 7, 9, 11, 13, 15, 23, 25])
bordGauche = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["EDGE"])
-geompy.UnionIDs(bordGauche, [31, 34, 36, 41])
+geompy.UnionIDs(bordGauche, [35, 41, 43, 45, 47, 49])
piles = geompy.CreateGroup(HYDRO_casGaronne_1, geompy.ShapeType["EDGE"])
geompy.UnionIDs(piles, [73,58,71,49,55,67,46,80,53,76,78,62,69,60,51,64])
geompy.addToStudyInFather( HYDRO_casGaronne_1, casGaronne_1_pile3_Outer, 'casGaronne_1_pile3_Outer' )
geompy.addToStudyInFather( HYDRO_casGaronne_1, piles, 'piles' )
# --- basic properties control: edges length, surfaces
-#controlGeomProps(geompy, riveGauche, 29149.1353799, 35950762.8967)
-#controlGeomProps(geompy, litMineur_aval, 7965.23431497, 938890.904721)
-#controlGeomProps(geompy, litMineur_pont, 961.8255222, 19618.0787789)
-#controlGeomProps(geompy, litMineur_amont, 22635.6212065, 2548509.17447)
-#controlGeomProps(geompy, riveDroite, 32012.2241814, 26188706.2202)
controlGeomProps(geompy, riveGauche, 29149.1353799, 35949580.6716)
controlGeomProps(geompy, litMineur_aval, 7965.23431497, 935955.786347)
controlGeomProps(geompy, litMineur_pont, 961.8255222, 19618.016847)
casGaronne_1.SetAutoColor( 1 )
casGaronne_1.ExportMED( med_file, 0, SMESH.MED_V2_2, 1, None ,1)
-#controlMeshStats(casGaronne_1, 7040, 746, 13871)
-#controlSubMeshStats(litMineur_pont_2, 204)
-#controlSubMeshStats(litMineur_amont_2, 3000)
-#controlSubMeshStats(litMineur_aval_2, 2000)
-#controlSubMeshStats(riveDroite_1, 4040)
-#controlSubMeshStats(riveGauche_1, 4627)
controlMeshStats(casGaronne_1, 6985, 745, 13761)
controlSubMeshStats(litMineur_pont_2, 202)
controlSubMeshStats(litMineur_amont_2, 3000)