0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_7 / bug24789
CommitLineData
cd0705f6 1puts "============================================================================================="
2puts "0024789: BOPAlgo_Builder produces invalid result on planar, conical and spherical surfaces"
3puts "============================================================================================="
4puts ""
5
6restore [locate_data_file bug24789.brep] c1
7tcopy c1 c2
8
9bclearobjects
10bcleartools
11eval baddobjects [explode c1]
12bfillds
13bbuild result1
14
15checkshape result1
16checknbshapes result1 -shell 16 -solid 16
17checkprops result1 -s 4.91964e+06 -v 6.9691e+08
18if {![regexp "This shape seems to be OK" [bopcheck result1]]} {
19 puts "Error: GF result is self-interfered shape"
20}
21
22
23mkvolume result c2 -c
24
25checkshape result
26checknbshapes result -ref [nbshapes result1]
27checkprops result -equal result1
28if {![regexp "This shape seems to be OK" [bopcheck result]]} {
29 puts "Error: GF result is self-interfered shape"
30}
31
32checkview -display result -2d -path ${imagedir}/${test_image}.png