1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_2/bug21261_1
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

41 lines
980 B
Plaintext
Executable File

puts "========"
puts "OCC21261"
puts "========"
puts ""
######################################################
# Implementation of thickening of shell functionality
######################################################
set BugNumber OCC21261
restore [locate_data_file OCC21261-1.brep] s
thickshell result s 5
checkprops result -s 36766
checkshape result
checknbshapes result -vertex 4 -edge 10 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 24
vinit
vdisplay result
vsetdispmode 0
vfit
set scale 5.8136266443689317
set proj_X 0.5689244270324707
set proj_Y -0.54117375612258911
set proj_Z -0.61923813819885254
set up_X 0.48309960961341858
set up_Y -0.38943690061569214
set up_Z 0.78418976068496704
set at_X -41.655908269392
set at_Y -7.48592829187374
set at_Z 26.0339793965026
vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
set only_screen 0