0027784: Thickness fails on cylinder with draft
[occt.git] / tests / bugs / modalg_7 / bug28786_5
1 puts "========"
2 puts "OCC28786"
3 puts "========"
4 puts ""
5 ########################################
6 # Refactoring of the Warning/Error reporting system of Boolean Operations Algorithm
7 ########################################
8
9 vertex v 0 0 0
10 vertex v1 10 0 0
11 edge e1 v v1
12 edge e2 v v1
13 compound e1 e2 a
14
15 vertex v3 -5 0 0
16 vertex v4 15 0 0
17 edge b v3 v4
18
19 bclearobjects
20 bcleartools
21 baddobjects a
22 baddtools b
23
24 if {![regexp "Warning" [bfillds]]} {
25   puts "Error: WarningStatus has not been set"
26 }
27
28 bbuild result
29 checkshape result
30 checknbshapes result -edge 3