0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / moddata_3 / bug25981
CommitLineData
3960a825 1puts "========"
2puts "OCC25981"
3puts "========"
4puts ""
5#################################################
6# Wrong result obtained by projection algorithm.
7#################################################
8
9restore [locate_data_file bug25981_cb1_4.draw] c
10restore [locate_data_file bug25981_b2f.brep] f
11mksurface s f
12project x c s
13
142dcvalue x 0 firstX firstY
15set log [dump firstX]
16regexp {([-0-9.+eE]+)} ${log} x1
17
18set tol_abs 1.e-7
19if {abs($x1) > $tol_abs} {
20 puts "Error: Bad start position of projected curve"
21}
22
23view 1 -2D- 465 20 400 400
242dfit
25pcurve f
26
27xwd ${imagedir}/${casename}.png