1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/perf/modalg/bug10160_3
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

42 lines
1013 B
Plaintext

puts "TODO OCC11111 ALL: Error : is WRONG because number of "
puts "============"
puts "OCC10160"
puts "============"
puts ""
#######################################################################
# BOP performance improvement
#######################################################################
set BugNumber OCC10160
restore [locate_data_file OCC10160-1.brep] b1
restore [locate_data_file OCC10160-2.brep] b2
set NbTests 3
puts "Prepare boolean operation ..."
dchrono h0 restart
bop b1 b2
dchrono h0 stop counter bop
puts "Start boolean operation ..."
dchrono h restart
#
# BOOLEAN OPERATION ----- START
#
for {set i 1} {$i <= ${NbTests}} {incr i} {
bopcut result
}
#
# BOOLEAN OPERATION ----- FINISH
#
dchrono h stop counter bopcut
checkprops result -s 2.36194e+07
checkshape result
# Analysis of "nbshapes res"
checknbshapes result -vertex 24 -edge 34 -wire 20 -face 19 -shell 4 -solid 4 -compsolid 0 -compound 1 -shape 106
checkview -display result -2d -path ${imagedir}/${test_image}.png