mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
0028718: Section result has a break
This commit is contained in:
parent
38d90bb3d1
commit
c8425f03ff
34
tests/bugs/modalg_6/bug28718
Normal file
34
tests/bugs/modalg_6/bug28718
Normal file
@ -0,0 +1,34 @@
|
||||
puts "========"
|
||||
puts "OCC28718"
|
||||
puts "========"
|
||||
puts ""
|
||||
#################################################
|
||||
# Section result has a break
|
||||
#################################################
|
||||
|
||||
restore [locate_data_file bug28718_bulk_1.brep] b1
|
||||
restore [locate_data_file bug28718_hull.brep] b2
|
||||
|
||||
####
|
||||
|
||||
explode b1 f
|
||||
explode b2 f
|
||||
axo
|
||||
don b2_61
|
||||
fit
|
||||
|
||||
set log [bopcurves b1_1 b2_61 -2d]
|
||||
|
||||
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
|
||||
checkreal TolReached $Toler 5.6917962071676512e-008 0.0 0.1
|
||||
|
||||
nurbsconvert ff b2_61
|
||||
set log [bopcurves b1_1 ff -2d]
|
||||
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
|
||||
checkreal TolReached $Toler 6.2331348315760405e-008 0.0 0.1
|
||||
|
||||
bsection result b1 b2
|
||||
|
||||
checkprops result -l 19.1199
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user