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_6/bug27274
emv 5be33fb667 0027274: Regression vs 6.9.1: Wrong result of General Fuse operation on two cylinders
When reducing the tolerance values of the vertices put on section curves take into
account all section curves, not only those for which the tolerance have been reduced
(method void BOPAlgo_PaveFiller::CorrectToleranceOfSE()).
The new protection has been added to avoid reducing of tolerance values of vertices
to the values less than the tolerance values of edges containing these vertices.

Adjusting of test case bugs/modalg_5/bug25232_9
2016-03-24 12:49:28 +03:00

36 lines
666 B
Plaintext

puts "============"
puts "OCC27274"
puts "============"
puts ""
#######################################################################
# Wrong result of General Fuse operation on two cylinders
#######################################################################
pcylinder b1 50 145
tcopy b1 b2
trotate b2 0 0 0 1 0 0 45
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
bbuild result
checkshape result
set nbshapes_expected "
VERTEX : 5
EDGE : 11
WIRE : 10
FACE : 10
SHELL : 3
SOLID : 3
COMPSOLID : 0
COMPOUND : 1
SHAPE : 43
"
checknbshapes result -ref ${nbshapes_expected} -t
checkprops result -s 154518