0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_5 / bug23698
CommitLineData
e1cbc34c 1puts "========"
2puts "OCC23698"
3puts "========"
4puts ""
5##############################################
6# BRepBuilderAPI_Copy creates invalid copy
7##############################################
8
9restore [locate_data_file case_1_solid.brep] a
10restore [locate_data_file case_1_wire3.brep] b
11bcommon result b a
12tcopy result r
13
14regexp {Mass +: +([-0-9.+eE]+)} [lprops result] full anEdge
15if { ${anEdge} == 0 } {
16 puts "Error: Common operation is wrong"
17}
18
19regexp {Mass +: +([-0-9.+eE]+)} [lprops r] full aCopyEdge
20if { ${anEdge} != ${aCopyEdge} } {
21 puts "Error: Copy is wrong"
22} else {
23 puts "OK: Copy is correct"
24}