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
23 lines
570 B
Plaintext
Executable File
23 lines
570 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23137"
|
|
puts "============"
|
|
puts ""
|
|
##########################################################################################################
|
|
# Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
|
|
##########################################################################################################
|
|
|
|
restore [locate_data_file bug23137_rev_cut.brep] b
|
|
explode b
|
|
copy b_1 b1
|
|
copy b_2 b2
|
|
#to provide positive volume of b1
|
|
invert b1
|
|
|
|
bop b1 b2
|
|
bopcut result
|
|
|
|
checkprops result -s 3452.78
|
|
checkshape result
|
|
|
|
set 3dviewer 1
|