diff --git a/src/Model/Geometry/Reach.py b/src/Model/Geometry/Reach.py index ee594e19..033924f8 100644 --- a/src/Model/Geometry/Reach.py +++ b/src/Model/Geometry/Reach.py @@ -762,10 +762,11 @@ class Reach(SQLSubModel): # on double le point a gauche new_profiles[isect].insert_point(j0,new_profiles[isect].points[j0]) beta[j0]=beta[j0-1] + new_profiles[isect].points[j0+1].name('') else: p = PointXYZ(x = (1.0-ratio)*new_profiles[isect].points[j0].x + ratio*new_profiles[isect].points[j0].x, y = (1.0-ratio)*new_profiles[isect].points[j0].y + ratio*new_profiles[isect].points[j0].y, - z = (1.0-ratio)*new_profiles[isect].points[j0].z + ratio*new_profiles[isect].points[j0].z, + z = (1.0-ratio)*new_profiles[isect].points[j0].z + ratio*new_profiles[isect].points[j0].z ) new_profiles[isect].insert_point(j0,p) @@ -815,6 +816,7 @@ class Reach(SQLSubModel): if (ratio < 0.0): # on double le point a gauche new_profiles[isect].insert_point(j0,new_profiles[isect].points[j0]) + new_profiles[isect].points[j0+1].name('') beta[j0]=beta[j0-1] else: p = PointXYZ(x = (1.0-ratio)*new_profiles[isect].points[j0].x + ratio*new_profiles[isect].points[j0].x,