0025715: Intersection between cylinders produces excess vertices
[occt.git] / tests / bugs / modalg_5 / bug25509_6
CommitLineData
949df2b6 1puts "============"
2puts "OCC25509"
3puts "============"
4puts ""
5######################################################
6# Wrong shape considered as valid by checkshape
7######################################################
8
9# 06
10# Solid with Two vertices FORWARD that are out of the growth
11# Solid with 2 growths
12# Solid with 2 shells with imbrications
13#
14
15box b1 10 10 10
16
17explode b1
18
19vertex v1 11 11 0
20vertex v2 11 11 11
21
22box b3 3 3 3 4 4 4
23explode b3
24
25explode b1_1
26orientation b1_1_1 I
27shape x sh
28add b1_1_1 x
29
30shape result so
31add b1_1 result
32add v1 result
33add v2 result
34add b3_1 result
35add x result
36
37decho off
38set info [checkshape result]
39decho on
40
41if { [regexp "Faulty shapes in variables faulty_1" ${info}] != 1 } {
42 puts "Error : There are no mistakes by checkshape-command"
43} else {
44 puts "OK : There are mistakes by checkshape-command"
45}
46
47set 2dviewer 1