0025095: Wrong result obtained by projection algorithm
[occt.git] / tests / bugs / moddata_3 / bug25095
CommitLineData
8e007da7 1puts "============"
2puts "OCC25095"
3puts "============"
4puts ""
5#######################################################################
6# Wrong result obtained by projection algorithm
7#######################################################################
8
9restore [locate_data_file bug25095_fz639.brep] b1
10restore [locate_data_file bug25095_fz5075.brep] b2
11
12mksurface s1 b1
13bopcurves b1 b2
14
15trim ct1 c_1 0.79929107016766299 7.0824763773472492
16trim ct2 c_1 0.79929107016766343 7.0824763773472501
17
18project cp1 ct1 s1
19project cp2 ct2 s1
20
21regexp {The length cp1 is +([0-9.+eE]+)} [length cp1] full length1
22regexp {The length cp2 is +([0-9.+eE]+)} [length cp2] full length2
23
24set good_length 7.2783309522
25checkreal "length of cp1" ${length1} ${good_length} 0.01 0.01
26checkreal "length of cp2" ${length2} ${good_length} 0.01 0.01
27
28#v2d2
29view 1 -2D- 728 20 400 400
30
312dfit
32set only_screen_axo 1