mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-20 23:15:55 +08:00
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
35 lines
813 B
Plaintext
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
|