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
573 B
Plaintext
Executable File
23 lines
573 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC15968"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Result of checkshape command depends on order of subshapes in a shape
|
|
#######################################################################
|
|
|
|
restore [locate_data_file OCC15968.brep] s
|
|
|
|
explode s f
|
|
|
|
# shell 1
|
|
shape s1 sh
|
|
add s_2 s1
|
|
add s_1 s1
|
|
renamevar s1 result
|
|
|
|
checkprops result -s 164
|
|
checkshape result
|
|
checknbshapes result -vertex 10 -edge 11 -wire 3 -face 2 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 27
|
|
set 2dviewer 0
|