0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug497_2
CommitLineData
0e94a94e 1
2puts "========="
3puts " OCC497 "
4puts "(case 2)"
5puts "========="
6puts ""
7########################################################
8## Result of cut and fuse operation are faulty shapes although arguments are valid.
9########################################################
10
11restore [locate_data_file OCC497c.brep] a_1
352ffd73 12checkshape a_1
0e94a94e 13
14restore [locate_data_file OCC497d.brep] a_2
352ffd73 15checkshape a_2
0e94a94e 16
17if [catch {bcut result a_1 a_2 } catch_result] {
18 puts "Faulty OCC497:function CUT works wrongly "
19} else {
20 puts "OCC497 : function CUT works without hangs up "
21}
58cf74e0 22checkprops result -s 2225.65
23checkshape result
5747059b 24checkview -display result -2d -path ${imagedir}/${test_image}.png