0024417: BRepAlgoAPI_Section fails on attached shapes
[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
31set square 1.8847e+07
32
a4eba920 33checknbshapes result -vertex 964 -edge 1222 -wire 273 -face 259 -shell 18 -solid 0 -compsolid 0 -compound 1 -shape 2737
fb60057d 34checkmaxtol result -ref 0.046734236640099257
5ae01c85 35checknbshapes result -shell 18
2a739b6d 36checkfreebounds result 926
5ae01c85 37
809eca9d 38set 3dviewer 0