5 ###############################
6 ## BRepLib_CheckCurveOnSurface does not find the maximal distance
7 ###############################
9 restore [locate_data_file bug27129_e.brep] e
11 set log1 [checkcurveonsurf e]
13 vertex v1 33.1645637744 33.5513655177474 0
14 vertex v2 43.1644823619474 23.5514469302 0
23 set log2 [checkcurveonsurf result]
25 if { [regexp {Invalid curves on surface:\n} ${log1} full ]} {
26 puts "OK. Source shape has invalid curve on surface"
28 puts "Error. checkcurveonsurf command works wrong with source shape"
31 if { [regexp {Invalid curves on surface:\n} ${log1} full ]} {
32 puts "OK. Result has invalid curve on surface"
34 puts "Error. checkcurveonsurf command works wrong with result"