1 puts "TODO OCC26795 ALL: Error: General Fuse operation is bad"
3 puts "================"
5 puts "================"
7 #######################################################################
8 # Unable to perform General Fuse operation on the attached faces
9 #######################################################################
11 restore [locate_data_file bug26795_c.brep] c
28 set s_exp_c_1 8.71862e+06
29 set s_exp_c_2 1.01299e+07
31 set s_c_1_and_s_c_2 [expr ${s_exp_c_1} + ${s_exp_c_2}]
33 set prop [ sprops result ]
34 regexp {Mass\s*:\s*([0-9.e+-]+)} $prop prop_s s_Fuse
36 checkprops c_1 -s ${s_exp_c_1}
37 checkprops c_2 -s ${s_exp_c_2}
39 if { [expr ( abs (${s_Fuse} - ${s_c_1_and_s_c_2}) ) / ${s_c_1_and_s_c_2}] > ${tol_rel} } {
40 puts "OK: General Fuse operation is good"
42 puts "Error: General Fuse operation is bad"
45 checkview -display result -2d -path ${imagedir}/${test_image}.png