forked from Open-Cascade-SAS/OCCT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0029688: Regression vs 7.2.0: Wrong result of CUT operation
Boolean Operations - when splitting the face by the intersections with other arguments check if the face (e.g. really thin one) can be split by a vertex. In this case avoid simple face reconstruction and use the BuilderFace algorithm to split the face. Test case for the issue.
- Loading branch information
emv
authored and
bugmaster
committed
Apr 12, 2018
1 parent
6822a3b
commit 1ccef79
Showing
3 changed files
with
66 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
puts "========" | ||
puts "OCC29688" | ||
puts "========" | ||
puts "" | ||
################################################# | ||
# Regression vs 7.2.0: Wrong result of CUT operation | ||
################################################# | ||
|
||
brestore [locate_data_file bug29688_shape.brep] s1 | ||
brestore [locate_data_file bug29688_tool.brep] s2 | ||
|
||
bfuzzyvalue 2.1e-5 | ||
|
||
bcut result s1 s2 | ||
|
||
bfuzzyvalue 0.0 | ||
|
||
checkshape result | ||
checknbshapes result -wire 19 -face 19 -shell 1 -solid 1 | ||
checkprops result -s 64946 -v 253467 | ||
|
||
checkview -display result -2d -path ${imagedir}/${test_image}.png |