mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0027759: Invalid result of a Boolean fuse operation
Test case for the issue.
This commit is contained in:
parent
4e785ab59b
commit
84caaf81a0
22
tests/bugs/modalg_6/bug27759
Normal file
22
tests/bugs/modalg_6/bug27759
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "OCC27759"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
#################################################
|
||||||
|
# Invalid result of a Boolean fuse operation
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug27759_shapes.brep] b
|
||||||
|
explode b
|
||||||
|
|
||||||
|
# use the fuzzy option
|
||||||
|
bfuzzyvalue 1e-3
|
||||||
|
bfuse result b_1 b_2
|
||||||
|
|
||||||
|
checkshape result
|
||||||
|
checknbshapes result -shell 2 -solid 2
|
||||||
|
checkprops result -s 3.45465 -v 0.176959
|
||||||
|
|
||||||
|
|
||||||
|
# restore default value
|
||||||
|
bfuzzyvalue 0.0
|
Loading…
x
Reference in New Issue
Block a user