0026230: Segmentation fault because a NULL curve is used without precaution in case...
[occt.git] / tests / bugs / modalg_2 / bug22770_13
CommitLineData
5a29f57e 1puts "TODO OCC24036 ALL: Faulty shapes in variables faulty_1 to faulty_2"
2puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 642 vertices instead of 966"
3puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 955 edges instead of 1224"
4puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 3 shells instead of 18"
5puts "TODO OCC24036 ALL: Error : Result shape is WRONG because it must contains 2133 shapes instead of 2741"
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
31set square 1.8847e+07
32
f2cc4711 33set nb_v_good 642
34set nb_e_good 955
809eca9d 35set nb_w_good 273
36set nb_f_good 259
f2cc4711 37set nb_sh_good 3
809eca9d 38set nb_sol_good 0
39set nb_compsol_good 0
40set nb_compound_good 1
f2cc4711 41set nb_shape_good 2133
809eca9d 42
5ae01c85 43checkmaxtol result 0.000126867229511314
44checknbshapes result -shell 18
45checkfreebounds result 927
46
809eca9d 47set 3dviewer 0