0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / modalg_2 / bug22770_2
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
19vertex a 1 0 0
20vertex b 10 0 0
21edge e1 a b
22vertex c 10.01 0 0
23vertex d 20 0 0
24edge e2 c d
25sewing result +t 0.1 e1 e2 -e
26
58cf74e0 27checkprops result -l 18.99
28checkshape result
29checksection result
809eca9d 30
a4eba920 31checknbshapes result -vertex 4 -edge 2 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 7
fb60057d 32checkmaxtol result -ref 9.9999999999999995e-008
5ae01c85 33checknbshapes result -shell 0
34checkfreebounds result 0
5747059b 35checkview -display result -3d -path ${imagedir}/${test_image}.png