0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / heal / bug26644
CommitLineData
598f4391 1puts "========"
2puts "OCC26644"
3puts "========"
4puts ""
5#######################################################################
6# ShapeUpgrade_UnifySameDomain - strange behavior
7#######################################################################
8
9restore [locate_data_file bug26644_input.brep] a
10
11# 1
12checkarea a 158.466 1e-1 0.01
13
598f4391 14vinit
15vsetdispmode 1
16vclear
17vdisplay a
18vfit
19vdump ${imagedir}/${casename}_1.png
20
21# 2
22unifysamedom r a +f +e -b
23
24checkshape r f
25
26checkarea a 158.466 1e-1 0.01
27
28set nbshapes_expected "
29Number of shapes in shape
30 VERTEX : 32
31 EDGE : 50
32 WIRE : 23
33 FACE : 23
34 SHELL : 3
35 SOLID : 3
36 COMPSOLID : 0
37 COMPOUND : 1
38 SHAPE : 135
39"
40checknbshapes r -ref ${nbshapes_expected} -t -m "Shape Upgrade"
41
42vclear
43vdisplay r
44vdump ${imagedir}/${casename}_2.png