1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
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

27 lines
573 B
Plaintext

#########################
# bug sewing #
#########################
#box b1 0 0 0 5 5 5
#box b2 0 5 0 5 5 5
#box b3 0 0 0 5 10 5
#explode b1 f
#explode b2 f
#explode b3 f
#don b1_1 b2_1 b3_6
#sewing s b1_1 b2_1 b3_6
#########################
restore [locate_data_file 7_B3.draw] s
tscale s 0 0 0 SCALE
explode s E
mkevol P s
#updatevol s_15 0 1*SCALE1 1 1*SCALE1 2 0.1*SCALE1
# updatevol s_3 0 8*SCALE 1 1.e-4 2 8*SCALE
updatevol s_3 1 1.e-4 2 8*SCALE
updatevol s_7 0 8*SCALE 1 1.e-4
buildevol
explode P Sh
copy P_1 result
checkprops result -s 4.80062e+08