mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03: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.
28 lines
640 B
Plaintext
28 lines
640 B
Plaintext
puts "========"
|
|
puts "0029807: Impossible to cut cone from prism"
|
|
puts "========"
|
|
puts ""
|
|
|
|
restore [locate_data_file bug25542_cylinder.brep] b1
|
|
restore [locate_data_file bug25542_cone.brep] b2
|
|
|
|
explode b1 f
|
|
explode b2 f
|
|
|
|
smallview
|
|
don b1_1 b2_1
|
|
fit
|
|
|
|
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_1 b2_1 -2d] full Toler NbCurv
|
|
|
|
checkreal Tolerance $Toler 0.0016015772839744358 0.0 0.01
|
|
|
|
if {$NbCurv != 2} {
|
|
puts "Error: Please check NbCurves for intersector"
|
|
}
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}_3d.png
|
|
smallview -2D-
|
|
2dfit
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}_2d.png
|