0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_2 / bug22770_13
1 puts "TODO OCC24036 ALL: Faulty shapes in variables faulty_1 to faulty_"
2 #puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 642 vertices instead of 966"
3 #puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 955 edges instead of 1224"
4 #puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 3 shells instead of 18"
5 #puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 2133 shapes instead of 2741"
6
7 puts "================"
8 puts "OCC22770"
9 puts "================"
10 puts ""
11 #######################################################################################
12 # Improve comman sewing in DRAW
13 ######################################################################################
14
15 set BugNumber OCC22770
16
17 catch { pload XDE }
18
19 # Create a new document and set UndoLimit
20
21 # NewDocument D BinXCAF
22 # UndoLimit D 100
23
24 # Open a transaction
25 # NewCommand D
26
27 restore [locate_data_file 22770-tramp.brep] a 
28 restore [locate_data_file 22770-trans.brep] b 
29 sewing result a b +c
30
31 checkprops result -s 1.8847e+07 
32 checkshape result
33
34 checknbshapes result -vertex 964 -edge 1222 -wire 273 -face 259 -shell 18 -solid 0 -compsolid 0 -compound 1 -shape 2737
35 checkmaxtol result -ref 0.046734236640099257
36 checknbshapes result -shell 18
37 checkfreebounds result 926
38 checkview -display result -3d -path ${imagedir}/${test_image}.png