1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_7/bug25082_1
ifv 5c48956f8e 0032849: Modeling Algorithms - Intersection algorithm returns incomplete result.
GeomInt/GeomInt_IntSS.cxx, IntTools/IntTools_FaceFace.cxx - setting deflection 0.01
for case of two bspline surfaces
IntPolyh/IntPolyh_Intersection.cxx, IntPolyh/IntPolyh_Intersection.hxx - status IsParallel is added

BndLib/BndLib_Add3dCurve.cxx, IntTools/IntTools_TopolTool.cxx - fix small bugs

Correction of test scripts according to current behavior of algorithms

lowalgos/intss/bug32849 - test case added
2022-03-01 18:57:09 +03:00

46 lines
1.0 KiB
Plaintext

puts "========"
puts "0025082: bopcommon returns different result on Windows and Linux system"
puts "========"
puts ""
restore [locate_data_file bug25054_shape1.brep] b1
restore [locate_data_file bug25054_shape2.brep] b2
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
for {set i 0} { $i <= 4 } { incr i} {
bbop r_$i $i
checkshape r_$i
if {[regexp "Faulties" [bopargcheck r_$i]]} {
puts "Error: bopargcheck has found some faulties in r_$i"
}
}
checknbshapes r_0 -solid 1 -shell 1 -face 8 -wire 8
checkprops r_0 -s 0.28083 -v 0.00131782
checknbshapes r_1 -solid 1 -shell 1 -face 20 -wire 20
checkprops r_1 -s 0.28086 -v 0.00132012
checknbshapes r_2 -solid 1 -shell 1 -face 8 -wire 8
checkprops r_2 -s 0.263808 -v 1.1489e-06
checknbshapes r_3 -solid 1 -shell 1 -face 8 -wire 8
checkprops r_3 -s 0.263808 -v 1.1489e-06
checknbshapes r_4 -vertex 12 -edge 18
checkprops r_4 -l 3.47027
checksection r_4 -r 12
# COMMON
copy r_0 result
checkmaxtol result -min_tol 6.0e-7
checkview -display result -2d -path ${imagedir}/${test_image}.png