0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation...
[occt.git] / tests / bugs / modalg_7 / bug29387
1 puts "========"
2 puts "OCC29387"
3 puts "========"
4 puts ""
5 #################################################
6 # Incorrect result of cut a face with several shapes
7 #################################################
8
9 restore [locate_data_file bug29387_obj.brep] s
10 restore [locate_data_file bug29387_tools.brep] t
11 bclearobjects
12 bcleartools
13 baddobjects s
14 baddctools t
15 bfillds
16
17 # perform GF operation
18 bbuild rgf
19 checkshape rgf
20 checknbshapes rgf -wire 289 -face 288 -shell 14 -solid 14 -t
21 checkprops rgf -s 529.587 -v 0.604529
22
23 # perform CUT operation
24 bbop result 2
25 checkshape result
26 checknbshapes result -wire 2 -face 1
27 checkprops result -s 470.719
28
29 checkview -display result -2d -path ${imagedir}/${test_image}.png