0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_3 / bug600
1
2 puts "========================"
3 puts " OCC600"
4 puts "========================"
5 ## Result of BOPCOMMON operation is unclosed shape inspite of source solids are valid
6 ############################################################
7 cpulimit 5000
8 restore [locate_data_file OCC600_1.brep] a 
9 checkshape a
10 restore [locate_data_file OCC600_2.brep] b 
11 checkshape b
12 bop b a
13
14 bopcommon result
15
16 set square 41970.8
17
18 set nbshapes_expected "
19 Number of shapes in shape
20  VERTEX : 55
21  EDGE : 93
22  WIRE : 40
23  FACE : 40
24  SHELL : 1
25  SOLID : 1
26  COMPSOLID : 0
27  COMPOUND : 1
28  SHAPE : 231
29 "
30 checknbshapes result -ref ${nbshapes_expected} -t -m "Result of Boolean operations"
31
32 checkprops result -s 41970.8
33
34 checkshape result
35
36 checkview -display result -2d -path ${imagedir}/${test_image}.png