0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / tests / bugs / modalg_6 / bug27524
CommitLineData
cba287d6 1puts "TODO 0027524 ALL: Error: pcurve deviation is greater than shape tolerance"
2puts "========="
3puts "CR27524"
4puts "========="
5puts ""
6###############################
7## Incorrect result of "checkshape" command
8###############################
9
10set aTol 1.0e-7
11set aShapeToler 0.0069791772900578497
12
13restore [locate_data_file bug27524.brep] aS
14
15checkshape aS
16
17explode aS E
18explode aS F
19set log [xdistef aS_3 aS_1]
20regexp {Max Distance = +([-0-9.+eE]+);} ${log} full aDist
21
22if { $aDist > $aShapeToler + $aTol } {
23 puts "Error: pcurve deviation is greater than shape tolerance"
24}