mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-31 11:15:31 +03:00
Changes: class BOPTools_AlgoTools method: Standard_Boolean BOPTools_AlgoTools::GetFaceOff (const TopoDS_Edge& theE1, const TopoDS_Face& theF1, BOPTools_ListOfCoupleOfShape& theLCSOff, TopoDS_Face& theFOff, Handle(IntTools_Context)& theContext) has been changed. The comparison of the angles done with the angular tolerance value Test case for issue CR25838
37 lines
745 B
Plaintext
37 lines
745 B
Plaintext
puts "========="
|
|
puts "OCC25838"
|
|
puts "========="
|
|
puts ""
|
|
###############################################
|
|
# Wrong result obtained by General Fuse operator.
|
|
###############################################
|
|
|
|
restore [locate_data_file bug25715_p02c3s1.brep] b1
|
|
restore [locate_data_file bug25838_p02c3s2.brep] b2
|
|
restore [locate_data_file bug25715_p02c3s3.brep] b3
|
|
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects b1 b2 b3
|
|
|
|
bfillds
|
|
bbuild result
|
|
|
|
set square 3107.42
|
|
|
|
set nbshapes_expected "
|
|
Number of shapes in shape
|
|
VERTEX : 26
|
|
EDGE : 45
|
|
WIRE : 23
|
|
FACE : 23
|
|
SHELL : 5
|
|
SOLID : 5
|
|
COMPSOLID : 0
|
|
COMPOUND : 1
|
|
SHAPE : 128
|
|
"
|
|
checknbshapes result ${nbshapes_expected} 1 "Result done by General Fuse operator"
|
|
|
|
set 2dviewer 1
|