mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
39 lines
748 B
Plaintext
39 lines
748 B
Plaintext
puts "============"
|
|
puts "OCC22793"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Boolean cut operation hangs computer
|
|
######################################################
|
|
|
|
restore [locate_data_file bug22793_Positive.brep] p
|
|
restore [locate_data_file bug22793_Void.brep] v
|
|
|
|
checkshape p
|
|
tolerance p
|
|
|
|
checkshape v
|
|
tolerance v
|
|
|
|
bop p v
|
|
bopcut result
|
|
|
|
checkprops result -s 1.89516e+07
|
|
checkshape result
|
|
|
|
set nbshapes_expected "
|
|
Number of shapes in result
|
|
VERTEX : 16
|
|
EDGE : 24
|
|
WIRE : 10
|
|
FACE : 10
|
|
SHELL : 1
|
|
SOLID : 1
|
|
COMPSOLID : 0
|
|
COMPOUND : 1
|
|
SHAPE : 63
|
|
"
|
|
checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
|
|
|
|
set 2dviewer 1
|