0027015: Sewing returns invalid shape if some faces are nearly plane cones
[occt.git] / tests / bugs / modalg_2 / bug22770_3
CommitLineData
809eca9d 1puts "================"
2puts "OCC22770"
3puts "================"
4puts ""
5#######################################################################################
6# Improve comman sewing in DRAW
7######################################################################################
8
9set BugNumber OCC22770
10
11catch { pload XDE }
12
13# Create a new document and set UndoLimit
e837410d 14# NewDocument D BinXCAF
809eca9d 15# UndoLimit D 100
16# Open a transaction
17# NewCommand D
18
19box a 1 2 3
20box b 2 0 0 1 2 3
21explode a f
22explode b f
23sewing result +t 1.1 a_2 b_1
24
58cf74e0 25checkprops result -s 12
26checkshape result
a4eba920 27checknbshapes result -vertex 4 -edge 4 -wire 2 -face 2 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 13
fb60057d 28checkmaxtol result -ref 1.5
5ae01c85 29checknbshapes result -shell 1
30checkfreebounds result 0
5747059b 31checkview -display result -3d -path ${imagedir}/${test_image}.png