mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0031662: Modeling Algorithms - Incomplete result of section operation
Integrating test case for the issue as the problem is not reproduced.
This commit is contained in:
parent
529444be92
commit
41ccce129d
32
tests/bugs/modalg_7/bug31662
Normal file
32
tests/bugs/modalg_7/bug31662
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
puts "============================================================================================="
|
||||||
|
puts "0031662: Modeling Algorithms - Incomplete result of section operation"
|
||||||
|
puts "============================================================================================="
|
||||||
|
puts ""
|
||||||
|
|
||||||
|
restore [locate_data_file bug31662_Surface_0.brep] s0
|
||||||
|
restore [locate_data_file bug31662_Surface_1.brep] s1
|
||||||
|
|
||||||
|
bclearobjects
|
||||||
|
bcleartools
|
||||||
|
baddobjects s0
|
||||||
|
baddtools s1
|
||||||
|
bfillds
|
||||||
|
|
||||||
|
bbop r4 4
|
||||||
|
|
||||||
|
checkshape r4
|
||||||
|
checksection r4 -r 0
|
||||||
|
checkprops r4 -l 70.3856
|
||||||
|
|
||||||
|
bbuild rgf
|
||||||
|
|
||||||
|
checkshape rgf
|
||||||
|
checknbshapes rgf -wire 363 -face 363 -shell 2 -solid 0
|
||||||
|
|
||||||
|
mkvolume result rgf -ni
|
||||||
|
|
||||||
|
checkshape result
|
||||||
|
checknbshapes result -wire 254 -face 254 -shell 1 -solid 1
|
||||||
|
checkprops result -s 668.352 -v 774.749
|
||||||
|
|
||||||
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
@ -16,6 +16,6 @@ checkshape tool
|
|||||||
bcut result shape tool
|
bcut result shape tool
|
||||||
|
|
||||||
checkprops result -s 3166.93
|
checkprops result -s 3166.93
|
||||||
checknbshapes result -wire 8 -face 8 -shell 1 -solid 1
|
checknbshapes result -wire 10 -face 10 -shell 1 -solid 1
|
||||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user