0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / caf / bug24822
CommitLineData
f18ccc8c 1puts "=========="
2puts "OCC24822"
3puts "=========="
4puts ""
5###################################################
6# Solve selection fails after copying
7###################################################
8
9restore [locate_data_file bug24822_face.brep] f
10explode f w
11
12NewDocument D XmlOcaf
13ImportShape D 0:1 f
14SelectShape D 0:2 f_1 f
15SolveSelection D 0:2
16
17CopyLabel D 0:2 0:3
18
19if [catch { SolveSelection D 0:3 } ] {
20 puts "Error: Solve selection fails after copying"
21} else {
22 puts "OK: Solve selection is good after copying"
23}