0031662: Modeling Algorithms - Incomplete result of section operation
[occt.git] / tests / bugs / modalg_2 / bug22770_13
CommitLineData
2a739b6d 1puts "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"
5a29f57e 6
809eca9d 7puts "================"
8puts "OCC22770"
9puts "================"
10puts ""
11#######################################################################################
12# Improve comman sewing in DRAW
13######################################################################################
14
15set BugNumber OCC22770
16
17catch { pload XDE }
18
19# Create a new document and set UndoLimit
20
e837410d 21# NewDocument D BinXCAF
809eca9d 22# UndoLimit D 100
23
24# Open a transaction
25# NewCommand D
26
27restore [locate_data_file 22770-tramp.brep] a
28restore [locate_data_file 22770-trans.brep] b
29sewing result a b +c
30
58cf74e0 31checkprops result -s 1.8847e+07
32checkshape result
809eca9d 33
a4eba920 34checknbshapes result -vertex 964 -edge 1222 -wire 273 -face 259 -shell 18 -solid 0 -compsolid 0 -compound 1 -shape 2737
fffc249f 35checkmaxtol result -ref 0.0451323239933289
5ae01c85 36checknbshapes result -shell 18
2a739b6d 37checkfreebounds result 926
5747059b 38checkview -display result -3d -path ${imagedir}/${test_image}.png