Files
OCCT/tests/bugs/modalg_6/bug27842
nbv 5c7744eaef 0027842: Exception in intersection algorithm if FPE is switched on
1. The reason of exception has been eliminated.
2. Interfaces of DistanceMinimizeByGradient and DistanceMinimizeByExtrema methods of IntWalk_PWalking class has been changed.

Creation of test case for this issue.

TODO has been added with reference to the issue #26329
2016-09-08 11:44:49 +03:00

35 lines
813 B
Plaintext

puts "============"
puts "OCC27842"
puts "============"
puts ""
######################################################
# Exception in intersection algorithm if FPE is switched on
######################################################
puts "TODO OCC26329 ALL: Error: dsetsignal command does not exist"
# This "if" should be deleted after integration the fix for issue #26329
if { [catch { dsetsignal 1 } ] } {
puts "Error: dsetsignal command does not exist"
}
restore [locate_data_file bug27842_shape1_fix.brep] b1
restore [locate_data_file bug27842_shape2_fix.brep] b2
explode b2 f
bopcurves b1 b2_33 -2d
bcommon result b1 b2
checknbshapes result -wire 3 -face 1
checkshape result
checkprops result -s 10.8848
smallview;
donly result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png