1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0027159: Section between two faces is lost

Minor correction of test case

Another small correction of test case

One more correction of test case
This commit is contained in:
jgv 2016-02-15 14:20:40 +03:00 committed by abv
parent dcb359e0ad
commit 0285a40010
2 changed files with 31 additions and 1 deletions

View File

@ -2712,7 +2712,6 @@ void IntPatch_PrmPrmIntersection::Perform (const Handle(Adaptor3d_HSurface)& Sur
PointDepart( LOn2S, Surf1, NbU1, NbV1, Surf2, NbU2, NbV2 );
empt = Standard_True;
done = Standard_True;
SLin.Clear();
Standard_Integer NbLigCalculee = 0;
Standard_Real U1,U2,V1,V2;

View File

@ -0,0 +1,31 @@
puts "============"
puts "OCC27159"
puts "============"
puts ""
#######################################################################
# Section between two faces is lost
#######################################################################
smallview
set expected_MaxTolerance 5.00000e-006
set tol_abs_MaxTolerance 1.e-07
set tol_rel_MaxTolerance 1.e-07
restore [locate_data_file bug27159_f1f2.brep] a
explode a
bop a_1 a_2
bopsection res
donly res
fit
donly a_1 a_2 res
checknbshapes res -vertex 2 -edge 1 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 4
checkshape res
regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance res] full MaxTolerance
checkreal "MaxTolerance" ${MaxTolerance} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
checkprops res -l 0.0100036