mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0027529: Invalid result of CUT operation
Test case is added.
This commit is contained in:
parent
f9ba5c4ddd
commit
9cc4e7e2db
27
tests/bugs/modalg_6/bug27529
Normal file
27
tests/bugs/modalg_6/bug27529
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
puts "================"
|
||||||
|
puts "OCC27529"
|
||||||
|
puts "================"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# Invalid result of CUT operation
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug27529_shapes.brep] aS
|
||||||
|
explode aS
|
||||||
|
|
||||||
|
bcut result aS_1 aS_2
|
||||||
|
|
||||||
|
# Check result validity.
|
||||||
|
checkshape result
|
||||||
|
|
||||||
|
# Check number of topological entities in the result.
|
||||||
|
checknbshapes result -solid 1 -shell 1 -face 6 -vertex 8
|
||||||
|
|
||||||
|
# Check result area.
|
||||||
|
checkprops result -s 1.5015e+008
|
||||||
|
|
||||||
|
smallview
|
||||||
|
don result
|
||||||
|
fit
|
||||||
|
|
||||||
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user