mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08:00
1. New testgrid "lowalgos/intss" has been created. It will contain all test cases on geometrical intersection of two surfaces ("intersect" DRAW-command) and two faces ("bopcurves" DRAW-command).
2. New test case for the issue #28493 has been created because the problem is not reproduced on MASTER.
3. Test case (lowalgos/intss/bug24472) for the issue #29501 has been modified in order to check loops of the resulting intersection curves.
32 lines
863 B
Plaintext
32 lines
863 B
Plaintext
puts "============"
|
|
puts "OCC26684"
|
|
puts "============"
|
|
puts ""
|
|
###################################################
|
|
## Big tolerance values of the intersection curves
|
|
###################################################
|
|
|
|
brestore [locate_data_file IR2_TuyoPipeBSpline_20_draw2.brep] b1
|
|
brestore [locate_data_file IR2_sphere2_20.brep] b2
|
|
|
|
explode b1 f; copy b1_1 f1
|
|
explode b2 f; copy b2_1 f2
|
|
|
|
smallview
|
|
donly f1 f2
|
|
fit
|
|
|
|
# 1 case
|
|
set bop_info [bopcurves f1 f2]
|
|
regexp {Tolerance Reached=([-0-9.+eE]+)} $bop_info full Tolerance
|
|
|
|
checkreal "Reached tolerance" ${Tolerance} 1.2530391548405894e-008 1.e-7 0
|
|
|
|
# 2 case
|
|
set bop_info_2d [bopcurves f1 f2 -2d]
|
|
regexp {Tolerance Reached=([-0-9.+eE]+)} $bop_info_2d full Tolerance_2d
|
|
|
|
checkreal "Reached tolerance" ${Tolerance_2d} 1.4134494834137484e-005 0 1.e-2
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|